Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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.0007388/0.0007388, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007337/0.0007337, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8724/0.8724, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/package.mo): time 0.3342/0.3342, allocations: 50.77 MB / 310.7 MB, free: 5.199 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/Compressor.mo:146:3-158:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/Compressor.mo:160:3-168:15:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:145:4-157:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:159:5-167:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:320:4-332:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/Components/Compressors/OldCompressorModels.mo:334:5-342:17:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation master/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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 462 MB, free: 30 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.196e-05, allocations: 2.281 kB / 462 MB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.004742/0.004764, allocations: 6.581 MB / 468.6 MB, free: 25.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003882/0.008646, allocations: 4.144 MB / 472.7 MB, free: 22.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007233/0.009369, allocations: 11.97 kB / 472.7 MB, free: 22.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009701/0.01034, allocations: 0.4885 MB / 473.2 MB, free: 22.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.01143, allocations: 0.7506 MB / 474 MB, free: 21.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008191/0.01224, allocations: 0.5499 MB / 474.5 MB, free: 21.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.014, allocations: 2.529 MB / 477.1 MB, free: 20.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.01502, allocations: 0.6345 MB / 477.7 MB, free: 20.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.01665, allocations: 1.254 MB / 478.9 MB, free: 19.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.01777, allocations: 0.9632 MB / 479.9 MB, free: 19.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.01811, allocations: 205.9 kB / 480.1 MB, free: 19.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.0185, allocations: 213 kB / 480.3 MB, free: 19.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.0189, allocations: 0.8316 MB / 481.1 MB, free: 18.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007656/0.01967, allocations: 0.7722 MB / 481.9 MB, free: 18.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.02179, allocations: 3.169 MB / 485.1 MB, free: 17.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02179, allocations: 0 / 485.1 MB, free: 17.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02179, allocations: 0 / 485.1 MB, free: 17.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.892e-05/0.02187, allocations: 9 kB / 485.1 MB, free: 17.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.003394/0.02527, allocations: 2.103 MB / 487.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.02531, allocations: 13.62 kB / 487.2 MB, free: 16.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002848/0.0256, allocations: 299.2 kB / 487.5 MB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004975/0.02609, allocations: 237 kB / 487.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.02699, allocations: 0.6916 MB / 488.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/0.02707, allocations: 152.2 kB / 488.6 MB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/0.02751, allocations: 268.5 kB / 488.8 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.03053, allocations: 2.742 MB / 491.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.03056, allocations: 7.312 kB / 491.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.03069, allocations: 81.09 kB / 491.7 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.03082, allocations: 150 kB / 491.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.03382, allocations: 2.173 MB / 494 MB, free: 13.01 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008922/0.04275, allocations: 9.086 MB / 0.4913 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.04416, allocations: 1.053 MB / 0.4923 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.04491, allocations: 0.5873 MB / 0.4929 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.758e-05/0.04499, allocations: 14.91 kB / 0.4929 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.04501, allocations: 52.5 kB / 0.4929 GB, free: 5.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 3.747e-06/0.04502, allocations: 4 kB / 0.493 GB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01279/0.05781, allocations: 7.379 MB / 0.5002 GB, free: 2.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002821/0.06063, allocations: 3.868 MB / 0.5039 GB, free: 14.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.06204, allocations: 1.142 MB / 0.505 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003243/0.06236, allocations: 55.11 kB / 0.5051 GB, free: 13.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.06283, allocations: 0.9601 MB / 0.506 GB, free: 13.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.06328, allocations: 0.5103 MB / 0.5065 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005114/0.06379, allocations: 437.7 kB / 0.507 GB, free: 12.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.06389, allocations: 344 kB / 0.5073 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.06506, allocations: 0.9155 MB / 0.5082 GB, free: 11.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.06649, allocations: 1.881 MB / 0.51 GB, free: 9.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.06923, allocations: 2.947 MB / 0.5129 GB, free: 5.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.06924, allocations: 15.94 kB / 0.5129 GB, free: 5.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005151/0.07439, allocations: 3.693 MB / 0.5165 GB, free: 2.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.07442, allocations: 20 kB / 0.5165 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.07446, allocations: 32.19 kB / 0.5166 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/0.07691, allocations: 0.9782 MB / 0.5175 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.07839, allocations: 0.5615 MB / 0.5181 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/0.08515, allocations: 6.482 MB / 0.5244 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.08669, allocations: 167.8 kB / 0.5246 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.08685, allocations: 124 kB / 0.5247 GB, free: 9.637 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.08786, allocations: 0.5608 MB / 0.5252 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.08818, allocations: 135.2 kB / 0.5254 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004589/0.09277, allocations: 2.836 MB / 0.5281 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003813/0.09658, allocations: 2.468 MB / 0.5305 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.09659, allocations: 8 kB / 0.5305 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.09661, allocations: 11.91 kB / 0.5306 GB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/0.1049, allocations: 5.574 MB / 0.536 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.1049, allocations: 4 kB / 0.536 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000905/0.1058, allocations: 279.6 kB / 0.5363 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/0.1084, allocations: 1.197 MB / 0.5374 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.1085, allocations: 39.97 kB / 0.5375 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.1142, allocations: 6.153 MB / 0.5435 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002752/0.1169, allocations: 3.748 MB / 0.5471 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005668/0.1226, allocations: 4.316 MB / 0.5514 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.1231, allocations: 151.1 kB / 0.5515 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.1232, allocations: 35.98 kB / 0.5515 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.1239, allocations: 79.91 kB / 0.5516 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.1242, allocations: 120.7 kB / 0.5517 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.1243, allocations: 47.98 kB / 0.5518 GB, free: 13.15 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009083/0.1252, allocations: 0.6962 MB / 0.5525 GB, free: 12.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1252, allocations: 0 / 0.5525 GB, free: 12.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001891/0.1271, allocations: 0.5586 MB / 0.553 GB, free: 11.88 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005736/0.1328, allocations: 4.898 MB / 0.5578 GB, free: 6.879 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004245/0.137, allocations: 2.572 MB / 0.5603 GB, free: 4.289 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1371, allocations: 4 kB / 0.5603 GB, free: 4.285 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.1391, allocations: 1.31 MB / 0.5616 GB, free: 2.965 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.1408, allocations: 400.8 kB / 0.562 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.1629, allocations: 17.6 MB / 0.5791 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.1636, allocations: 0.8251 MB / 0.5799 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00106/0.1647, allocations: 452.7 kB / 0.5804 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/0.1654, allocations: 0.6487 MB / 0.581 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/0.1654, allocations: 0 / 0.581 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06207/0.2275, allocations: 45.32 MB / 0.6253 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.427/9.654, allocations: 18.58 kB / 0.6253 GB, free: 0.668 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.768979425542057] Failed to read output from testmodel.py, exit status != 0: 9.76014029700309 9.770012398 9.74630068 Calling exit ...