Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 218.4 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 230.2 MB / 256.1 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1985/0.1985, allocations: 46.9 MB / 359.3 MB, free: 4.965 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 83.88 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2808, allocations: 65.98 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.03969/0.3205, allocations: 37 MB / 0.5945 GB, free: 80 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02092/0.3414, allocations: 16.89 MB / 0.611 GB, free: 15.13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.342, allocations: 19.88 kB / 0.6111 GB, free: 15.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.3432, allocations: 433.4 kB / 0.6115 GB, free: 14.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.3535, allocations: 4.042 MB / 0.6154 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008013/0.3615, allocations: 3.16 MB / 0.6185 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.3638, allocations: 1.806 MB / 0.6203 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007192/0.3646, allocations: 456.2 kB / 0.6207 GB, free: 5.219 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3658, allocations: 0.7707 MB / 0.6215 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.3666, allocations: 0.6071 MB / 0.622 GB, free: 3.836 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3667, allocations: 72 kB / 0.6221 GB, free: 3.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.3804, allocations: 7.477 MB / 0.6294 GB, free: 12.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3808, allocations: 267.1 kB / 0.6297 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.3813, allocations: 418.2 kB / 0.6301 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.3911, allocations: 5.062 MB / 0.635 GB, free: 6.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3911, allocations: 0 / 0.635 GB, free: 6.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3911, allocations: 4 kB / 0.635 GB, free: 6.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3911, allocations: 0 / 0.635 GB, free: 6.531 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004093/0.3952, allocations: 1.66 MB / 0.6366 GB, free: 4.816 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3952, allocations: 11.97 kB / 0.6366 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.3953, allocations: 110.7 kB / 0.6368 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.3981, allocations: 364.1 kB / 0.6371 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.3989, allocations: 0.5488 MB / 0.6376 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.3991, allocations: 113.3 kB / 0.6377 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.3992, allocations: 59.94 kB / 0.6378 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.4017, allocations: 1.122 MB / 0.6389 GB, free: 2.383 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.4017, allocations: 8 kB / 0.6389 GB, free: 2.375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.4018, allocations: 28 kB / 0.6389 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.4019, allocations: 37.17 kB / 0.639 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.4045, allocations: 1.051 MB / 0.64 GB, free: 1.258 MB / 478.1 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.006618/0.4111, allocations: 5.009 MB / 0.6449 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.4138, allocations: 0.8873 MB / 0.6458 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007496/0.4145, allocations: 361.9 kB / 0.6461 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05157/0.4661, allocations: 26.88 MB / 0.6723 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.4662, allocations: 42.94 kB / 0.6724 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.615e-06/0.4662, allocations: 0 / 0.6724 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.006878/0.473, allocations: 1.97 MB / 0.6743 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.4731, allocations: 111.2 kB / 0.6744 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000807/0.4739, allocations: 0.5966 MB / 0.675 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.474, allocations: 33.7 kB / 0.675 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.4743, allocations: 332.2 kB / 0.6753 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.4744, allocations: 166.5 kB / 0.6755 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.4747, allocations: 134.3 kB / 0.6756 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4748, allocations: 366.8 kB / 0.676 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007147/0.4756, allocations: 329.1 kB / 0.6763 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.4764, allocations: 485.6 kB / 0.6768 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.4779, allocations: 0.7357 MB / 0.6775 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4779, allocations: 4 kB / 0.6775 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002342/0.4803, allocations: 1.051 MB / 0.6785 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4803, allocations: 11.94 kB / 0.6785 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4803, allocations: 4 kB / 0.6785 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.4815, allocations: 429.2 kB / 0.6789 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.4819, allocations: 123.8 kB / 0.6791 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.4838, allocations: 1.62 MB / 0.6806 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006087/0.4844, allocations: 95.31 kB / 0.6807 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.4845, allocations: 36.05 kB / 0.6808 GB, free: 3.398 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003544/0.4849, allocations: 229.6 kB / 0.681 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.485, allocations: 67.58 kB / 0.681 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004475/0.4895, allocations: 3.186 MB / 0.6842 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.4895, allocations: 43.92 kB / 0.6842 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4895, allocations: 0 / 0.6842 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4896, allocations: 7.984 kB / 0.6842 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4913, allocations: 1.569 MB / 0.6857 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4914, allocations: 0 / 0.6857 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.4917, allocations: 75.88 kB / 0.6858 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.4931, allocations: 0.8738 MB / 0.6867 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.4932, allocations: 15.98 kB / 0.6867 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.4958, allocations: 2.296 MB / 0.6889 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4958, allocations: 4.047 kB / 0.6889 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.4992, allocations: 2.215 MB / 0.6911 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/0.4996, allocations: 303.6 kB / 0.6914 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.4997, allocations: 27.84 kB / 0.6914 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.5002, allocations: 39.95 kB / 0.6914 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.5004, allocations: 64.47 kB / 0.6915 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.5005, allocations: 27.98 kB / 0.6915 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006952/0.5012, allocations: 0.5146 MB / 0.692 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5012, allocations: 3.938 kB / 0.692 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003111/0.5043, allocations: 1.181 MB / 0.6932 GB, free: 6.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008293/0.5126, allocations: 3.774 MB / 0.6969 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.515, allocations: 1.103 MB / 0.698 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.515, allocations: 0 / 0.698 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.5164, allocations: 0.7127 MB / 0.6986 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.5183, allocations: 374.1 kB / 0.699 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.5329, allocations: 8.456 MB / 0.7073 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/0.5338, allocations: 1.161 MB / 0.7084 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006965/0.5345, allocations: 351.7 kB / 0.7087 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005089/0.535, allocations: 407.3 kB / 0.7091 GB, free: 5.902 MB / 0.545 GB Notification: Performance of SimCode: time 8.52e-07/0.535, allocations: 0 / 0.7091 GB, free: 5.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.309/0.844, allocations: 61.79 MB / 0.7695 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.48, allocations: 3.75 kB / 0.7695 GB, free: 127.8 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.145244150000508]