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.0007263/0.0007263, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.00121/0.00121, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8822/0.8822, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.3505/0.3505, allocations: 50.75 MB / 310.7 MB, free: 5.195 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 3.707e-06/3.707e-06, allocations: 0 / 462 MB, free: 29.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.509e-05, allocations: 4.672 kB / 462 MB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.004636/0.004661, allocations: 6.577 MB / 468.6 MB, free: 25.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00446/0.009121, allocations: 4.144 MB / 472.7 MB, free: 22.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.01008, allocations: 12.25 kB / 472.7 MB, free: 22.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.01123, allocations: 0.4961 MB / 473.2 MB, free: 22.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.01237, allocations: 0.7508 MB / 474 MB, free: 21.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.01329, allocations: 0.5538 MB / 474.5 MB, free: 21.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001929/0.01522, allocations: 2.526 MB / 477.1 MB, free: 20.28 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.01597, allocations: 0.6287 MB / 477.7 MB, free: 19.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.01804, allocations: 1.253 MB / 478.9 MB, free: 19.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.0194, allocations: 0.9593 MB / 479.9 MB, free: 19.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000418/0.01982, allocations: 205.3 kB / 480.1 MB, free: 19.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.02028, allocations: 218.2 kB / 480.3 MB, free: 19.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004494/0.02073, allocations: 0.8387 MB / 481.2 MB, free: 18.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008074/0.02153, allocations: 0.7776 MB / 481.9 MB, free: 18.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.02418, allocations: 3.168 MB / 485.1 MB, free: 17.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.02419, allocations: 0 / 485.1 MB, free: 17.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.02419, allocations: 0.9375 kB / 485.1 MB, free: 17.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.02429, allocations: 0 / 485.1 MB, free: 17.28 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.004355/0.02865, allocations: 2.11 MB / 487.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.16e-05/0.02871, allocations: 9.625 kB / 487.2 MB, free: 16.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003518/0.02906, allocations: 299.4 kB / 487.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005556/0.02962, allocations: 237 kB / 487.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.03064, allocations: 0.6953 MB / 488.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.615e-05/0.03074, allocations: 148.8 kB / 488.6 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004939/0.03123, allocations: 264.5 kB / 488.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/0.03443, allocations: 2.734 MB / 491.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.03446, allocations: 7.438 kB / 491.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.0346, allocations: 84.92 kB / 491.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.03474, allocations: 156.9 kB / 491.8 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.03892, allocations: 2.17 MB / 494 MB, free: 12.92 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.0101/0.04902, allocations: 9.082 MB / 0.4913 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.05055, allocations: 1.048 MB / 0.4923 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007926/0.05134, allocations: 0.5886 MB / 0.4929 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.05142, allocations: 28.2 kB / 0.4929 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.05145, allocations: 50.97 kB / 0.493 GB, free: 5.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=115): time 4.118e-06/0.05145, allocations: 0 / 0.493 GB, free: 5.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01327/0.06472, allocations: 7.385 MB / 0.5002 GB, free: 2.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002844/0.06756, allocations: 3.86 MB / 0.5039 GB, free: 14.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.06914, allocations: 1.155 MB / 0.5051 GB, free: 13.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.06949, allocations: 47.64 kB / 0.5051 GB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.07, allocations: 0.9591 MB / 0.506 GB, free: 13.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.07048, allocations: 0.5147 MB / 0.5065 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005536/0.07104, allocations: 438.1 kB / 0.507 GB, free: 12.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.07115, allocations: 343.2 kB / 0.5073 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.07248, allocations: 0.9161 MB / 0.5082 GB, free: 11.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.07421, allocations: 1.878 MB / 0.51 GB, free: 9.305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.07685, allocations: 2.947 MB / 0.5129 GB, free: 5.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.07687, allocations: 8 kB / 0.5129 GB, free: 5.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00513/0.082, allocations: 3.692 MB / 0.5165 GB, free: 2.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.08203, allocations: 18.19 kB / 0.5165 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.08206, allocations: 36 kB / 0.5166 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.08434, allocations: 0.974 MB / 0.5175 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.08597, allocations: 0.5615 MB / 0.5181 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.09278, allocations: 6.5 MB / 0.5244 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/0.09462, allocations: 159.8 kB / 0.5246 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.09481, allocations: 123.9 kB / 0.5247 GB, free: 9.629 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.0009202/0.09573, allocations: 0.5643 MB / 0.5252 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.09599, allocations: 139.2 kB / 0.5254 GB, free: 8.918 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/0.1004, allocations: 2.836 MB / 0.5281 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003804/0.1042, allocations: 2.468 MB / 0.5305 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.1042, allocations: 8 kB / 0.5306 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.1042, allocations: 7.969 kB / 0.5306 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0087/0.1129, allocations: 5.566 MB / 0.536 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.113, allocations: 4 kB / 0.536 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/0.1139, allocations: 284.2 kB / 0.5363 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.1166, allocations: 1.196 MB / 0.5374 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.1167, allocations: 39.97 kB / 0.5375 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005668/0.1224, allocations: 6.154 MB / 0.5435 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002704/0.1251, allocations: 3.748 MB / 0.5471 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.1308, allocations: 4.328 MB / 0.5514 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.1313, allocations: 143.1 kB / 0.5515 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.1314, allocations: 36 kB / 0.5515 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/0.1321, allocations: 79.91 kB / 0.5516 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.1323, allocations: 116.7 kB / 0.5517 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.1324, allocations: 51.97 kB / 0.5518 GB, free: 13.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007098/0.1331, allocations: 0.704 MB / 0.5525 GB, free: 12.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1331, allocations: 0 / 0.5525 GB, free: 12.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001651/0.1347, allocations: 0.5547 MB / 0.553 GB, free: 11.87 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.005599/0.1403, allocations: 4.902 MB / 0.5578 GB, free: 6.859 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.1443, allocations: 2.56 MB / 0.5603 GB, free: 4.281 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1443, allocations: 0 / 0.5603 GB, free: 4.281 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.1469, allocations: 1.318 MB / 0.5616 GB, free: 2.953 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.1488, allocations: 398.3 kB / 0.562 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.1711, allocations: 17.61 MB / 0.5792 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008168/0.1719, allocations: 0.8251 MB / 0.58 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001215/0.1731, allocations: 456.7 kB / 0.5804 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006645/0.1738, allocations: 0.6409 MB / 0.581 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/0.1738, allocations: 4 kB / 0.581 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05812/0.2319, allocations: 45.3 MB / 0.6253 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/9.937, allocations: 14.48 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 & python3 -m fmpy simulate --output-file ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 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: 12.198528030887246] Failed to read output from testmodel.py, exit status != 0: 10.044909082353115 10.058772588 10.031804039 Calling exit ...