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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2289/0.2289, allocations: 46.13 MB / 344.4 MB, free: 11.48 MB / 286.1 MB 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.002289/0.002289, allocations: 79.86 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.355, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.06462/0.4197, allocations: 36.49 MB / 0.5662 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.4424, allocations: 16.77 MB / 0.5826 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000791/0.4433, allocations: 19.88 kB / 0.5826 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4446, allocations: 421.4 kB / 0.583 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.4558, allocations: 4.034 MB / 0.587 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008466/0.4643, allocations: 3.148 MB / 0.5901 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.4669, allocations: 1.805 MB / 0.5918 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.4679, allocations: 0.5275 MB / 0.5923 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.4695, allocations: 0.7628 MB / 0.5931 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.4704, allocations: 0.5721 MB / 0.5936 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.4705, allocations: 72 kB / 0.5937 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01607/0.4866, allocations: 7.469 MB / 0.601 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005656/0.4872, allocations: 259.2 kB / 0.6012 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.488, allocations: 418.2 kB / 0.6016 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.5017, allocations: 5.066 MB / 0.6066 GB, free: 3.711 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5018, allocations: 3.938 kB / 0.6066 GB, free: 3.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5018, allocations: 0 / 0.6066 GB, free: 3.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.5018, allocations: 0 / 0.6066 GB, free: 3.707 MB / 462.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.005106/0.5069, allocations: 1.656 MB / 0.6082 GB, free: 1.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.507, allocations: 12.03 kB / 0.6082 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.5072, allocations: 110.7 kB / 0.6083 GB, free: 1.867 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002914/0.5101, allocations: 364.1 kB / 0.6087 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5111, allocations: 0.5526 MB / 0.6092 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.5113, allocations: 117.3 kB / 0.6093 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.5114, allocations: 55.94 kB / 0.6094 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.5142, allocations: 1.13 MB / 0.6105 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.5142, allocations: 7.984 kB / 0.6105 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.5143, allocations: 24 kB / 0.6105 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.375e-05/0.5144, allocations: 37.23 kB / 0.6106 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.5172, allocations: 1.055 MB / 0.6116 GB, free: 14.43 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.007339/0.5246, allocations: 5.005 MB / 0.6165 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.5275, allocations: 0.9107 MB / 0.6174 GB, free: 8.125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/0.5283, allocations: 385.9 kB / 0.6177 GB, free: 7.746 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0538/0.5821, allocations: 26.88 MB / 0.644 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.5822, allocations: 42.94 kB / 0.644 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.5822, allocations: 0 / 0.644 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.007171/0.5894, allocations: 1.978 MB / 0.6459 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.5895, allocations: 115.1 kB / 0.6461 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.5903, allocations: 0.5927 MB / 0.6466 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/0.5904, allocations: 33.64 kB / 0.6467 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.5907, allocations: 328.3 kB / 0.647 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.5909, allocations: 166.6 kB / 0.6471 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.5911, allocations: 138.3 kB / 0.6473 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5913, allocations: 366.8 kB / 0.6476 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/0.5921, allocations: 325.1 kB / 0.6479 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008662/0.5929, allocations: 489.6 kB / 0.6484 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5945, allocations: 0.7396 MB / 0.6491 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5945, allocations: 0 / 0.6491 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002388/0.5969, allocations: 1.056 MB / 0.6502 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5969, allocations: 11.94 kB / 0.6502 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5969, allocations: 4 kB / 0.6502 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.5982, allocations: 425.5 kB / 0.6506 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.5987, allocations: 119.8 kB / 0.6507 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.6007, allocations: 1.624 MB / 0.6523 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.6014, allocations: 95.38 kB / 0.6524 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.6014, allocations: 27.98 kB / 0.6524 GB, free: 0.5195 MB / 0.4981 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.0003925/0.6018, allocations: 241.7 kB / 0.6526 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.602, allocations: 67.58 kB / 0.6527 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.6067, allocations: 3.248 MB / 0.6559 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.623e-05/0.6068, allocations: 43.92 kB / 0.6559 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6068, allocations: 4 kB / 0.6559 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6068, allocations: 3.984 kB / 0.6559 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.6087, allocations: 1.565 MB / 0.6574 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6087, allocations: 0 / 0.6574 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.6091, allocations: 91.86 kB / 0.6575 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.6107, allocations: 0.866 MB / 0.6584 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.6107, allocations: 15.98 kB / 0.6584 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.6134, allocations: 2.288 MB / 0.6606 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6134, allocations: 0 / 0.6606 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.617, allocations: 2.278 MB / 0.6628 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.6175, allocations: 311.5 kB / 0.6631 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.6177, allocations: 27.84 kB / 0.6632 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.6182, allocations: 39.95 kB / 0.6632 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.6184, allocations: 64.47 kB / 0.6633 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.6185, allocations: 23.98 kB / 0.6633 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007246/0.6192, allocations: 0.5107 MB / 0.6638 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6192, allocations: 0 / 0.6638 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00328/0.6225, allocations: 1.185 MB / 0.6649 GB, free: 3.477 MB / 0.5137 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.008786/0.6313, allocations: 3.823 MB / 0.6687 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.634, allocations: 1.13 MB / 0.6698 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.634, allocations: 8.25 kB / 0.6698 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.6358, allocations: 0.8806 MB / 0.6706 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.6378, allocations: 379 kB / 0.671 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.653, allocations: 8.466 MB / 0.6793 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.6539, allocations: 1.15 MB / 0.6804 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008375/0.6547, allocations: 360.1 kB / 0.6807 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/0.6552, allocations: 407.3 kB / 0.6811 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.6553, allocations: 4 kB / 0.6811 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3417/0.997, allocations: 61.43 MB / 0.7411 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.55, allocations: 19.06 kB / 0.7411 GB, free: 148.5 MB / 0.5606 GB (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.002 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)