Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06236/0.06236, allocations: 11.33 MB / 323.8 MB, free: 8.027 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 69.62 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1112, allocations: 56.07 MB / 0.4952 GB, free: 2.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.00318/0.1144, allocations: 1.801 MB / 0.4969 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1154, allocations: 0.5411 MB / 0.4974 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.1155, allocations: 3.938 kB / 0.4974 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.1156, allocations: 23.67 kB / 0.4975 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1157, allocations: 35.67 kB / 0.4975 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.1163, allocations: 187.3 kB / 0.4977 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1166, allocations: 211.4 kB / 0.4979 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1167, allocations: 36.78 kB / 0.4979 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.1168, allocations: 83.53 kB / 0.498 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.1169, allocations: 103.4 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.117, allocations: 16 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.1172, allocations: 143.9 kB / 0.4983 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.1172, allocations: 55.77 kB / 0.4983 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.623e-05/0.1173, allocations: 79.52 kB / 0.4984 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.1177, allocations: 306.8 kB / 0.4987 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1177, allocations: 0 / 0.4987 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1177, allocations: 4 kB / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1177, allocations: 0 / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008356/0.1186, allocations: 0.4965 MB / 0.4992 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1186, allocations: 8.031 kB / 0.4992 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.1187, allocations: 46.73 kB / 0.4992 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.1187, allocations: 36.69 kB / 0.4992 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.119, allocations: 201.6 kB / 0.4994 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1191, allocations: 16.31 kB / 0.4995 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.1191, allocations: 24.33 kB / 0.4995 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.1195, allocations: 277.2 kB / 0.4997 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1195, allocations: 3.938 kB / 0.4997 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.1195, allocations: 4 kB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1195, allocations: 4 kB / 0.4998 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1197, allocations: 67.89 kB / 0.4998 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.1206, allocations: 463.5 kB / 0.5003 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1209, allocations: 138.5 kB / 0.5004 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.121, allocations: 56.83 kB / 0.5004 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.1211, allocations: 0 / 0.5004 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.1214, allocations: 147.3 kB / 0.5006 GB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1214, allocations: 0 / 0.5006 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005776/0.1219, allocations: 267.3 kB / 0.5008 GB, free: 12.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.1221, allocations: 162.2 kB / 0.501 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1223, allocations: 265.8 kB / 0.5013 GB, free: 11.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.1224, allocations: 33.7 kB / 0.5013 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1225, allocations: 152.4 kB / 0.5014 GB, free: 11.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.1226, allocations: 59.53 kB / 0.5015 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.1226, allocations: 53.98 kB / 0.5015 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1228, allocations: 346.8 kB / 0.5019 GB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1229, allocations: 56.25 kB / 0.5019 GB, free: 10.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.1232, allocations: 296.4 kB / 0.5022 GB, free: 10.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.1236, allocations: 240 kB / 0.5024 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1236, allocations: 4 kB / 0.5024 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000455/0.124, allocations: 265.1 kB / 0.5027 GB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.1241, allocations: 8 kB / 0.5027 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1241, allocations: 0 / 0.5027 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1241, allocations: 11.98 kB / 0.5027 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1243, allocations: 59.86 kB / 0.5028 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.1244, allocations: 16.33 kB / 0.5028 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.1245, allocations: 31.83 kB / 0.5028 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1245, allocations: 8.047 kB / 0.5028 GB, free: 9.887 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.1247, allocations: 154.3 kB / 0.503 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1248, allocations: 27.81 kB / 0.503 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.1248, allocations: 30.11 kB / 0.503 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1248, allocations: 0 / 0.503 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1249, allocations: 3.938 kB / 0.503 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1249, allocations: 4 kB / 0.503 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.1255, allocations: 0.496 MB / 0.5035 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1255, allocations: 0 / 0.5035 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1258, allocations: 31.98 kB / 0.5035 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1258, allocations: 0 / 0.5035 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.1258, allocations: 15.92 kB / 0.5036 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1258, allocations: 0 / 0.5036 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1258, allocations: 0 / 0.5036 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.1264, allocations: 391.4 kB / 0.5039 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.1264, allocations: 27.81 kB / 0.504 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.1265, allocations: 12.12 kB / 0.504 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.1266, allocations: 11.98 kB / 0.504 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1267, allocations: 19.97 kB / 0.504 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.1267, allocations: 4 kB / 0.504 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1269, allocations: 189.2 kB / 0.5042 GB, free: 8.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1269, allocations: 4 kB / 0.5042 GB, free: 8.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.1272, allocations: 75.8 kB / 0.5043 GB, free: 8.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.1283, allocations: 0.9876 MB / 0.5052 GB, free: 7.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1286, allocations: 163.8 kB / 0.5054 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1286, allocations: 0 / 0.5054 GB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.1288, allocations: 74.38 kB / 0.5055 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1291, allocations: 58.7 kB / 0.5055 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.1328, allocations: 2.893 MB / 0.5083 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.1329, allocations: 134.2 kB / 0.5085 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.991e-05/0.133, allocations: 30.28 kB / 0.5085 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1332, allocations: 79.42 kB / 0.5086 GB, free: 3.719 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1332, allocations: 0 / 0.5086 GB, free: 3.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2146/0.3478, allocations: 6.466 MB / 0.5149 GB, free: 22.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 7.172 kB / 0.5149 GB, free: 22.93 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.548544795718044] Failed to read output from testmodel.py, exit status != 0: 11.226976111996919 11.240355765 11.119851811 Calling exit ...