Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008914, allocations: 95.06 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 186.7 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003075, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03075/0.1517, allocations: 24.25 MB / 495.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01923/0.171, allocations: 14.8 MB / 0.4986 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1715, allocations: 19.81 kB / 0.4986 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008316/0.1724, allocations: 254.9 kB / 0.4989 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007901/0.1803, allocations: 2.972 MB / 0.5018 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008379/0.1887, allocations: 3.101 MB / 0.5048 GB, free: 160 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2473/0.436, allocations: 0.6051 MB / 0.5054 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.4369, allocations: 231.6 kB / 0.5056 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.4383, allocations: 437.4 kB / 0.506 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.4388, allocations: 231.6 kB / 0.5063 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.4389, allocations: 18.09 kB / 0.5063 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02133/0.4602, allocations: 7.178 MB / 0.5133 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.4606, allocations: 87.94 kB / 0.5134 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.461, allocations: 113.6 kB / 0.5135 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.4712, allocations: 3.079 MB / 0.5165 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4713, allocations: 0 / 0.5165 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4713, allocations: 0 / 0.5165 GB, free: 14.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4713, allocations: 1.969 kB / 0.5165 GB, free: 14.18 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.006165/0.4775, allocations: 1.269 MB / 0.5177 GB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4776, allocations: 10.56 kB / 0.5177 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.4777, allocations: 73.02 kB / 0.5178 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003417/0.4811, allocations: 236.3 kB / 0.518 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.482, allocations: 376.4 kB / 0.5184 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.482, allocations: 36.47 kB / 0.5184 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.4821, allocations: 30.59 kB / 0.5185 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/0.4847, allocations: 0.6763 MB / 0.5191 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4848, allocations: 2.312 kB / 0.5191 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.4848, allocations: 13.94 kB / 0.5191 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4849, allocations: 9.625 kB / 0.5191 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/0.4878, allocations: 0.6599 MB / 0.5198 GB, free: 13 MB / 382.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.004433/0.4922, allocations: 2.853 MB / 0.5226 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.495, allocations: 0.5282 MB / 0.5231 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07108/0.5661, allocations: 24.55 MB / 0.5471 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.5662, allocations: 45.69 kB / 0.5471 GB, free: 7.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.5662, allocations: 0 / 0.5471 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.004968/0.5712, allocations: 0.8978 MB / 0.548 GB, free: 6.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.5713, allocations: 106.8 kB / 0.5481 GB, free: 6.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.572, allocations: 376.4 kB / 0.5484 GB, free: 6.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.5721, allocations: 32.95 kB / 0.5485 GB, free: 6.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.5723, allocations: 224.3 kB / 0.5487 GB, free: 5.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.5725, allocations: 99.08 kB / 0.5488 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5725, allocations: 4.188 kB / 0.5488 GB, free: 5.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.5728, allocations: 357.5 kB / 0.5491 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008715/0.5736, allocations: 178.5 kB / 0.5493 GB, free: 5.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/0.5746, allocations: 271 kB / 0.5495 GB, free: 5.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.5756, allocations: 201.2 kB / 0.5497 GB, free: 5.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.5756, allocations: 8 kB / 0.5497 GB, free: 5.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002261/0.5779, allocations: 0.5052 MB / 0.5502 GB, free: 4.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006909/0.5786, allocations: 1.051 MB / 0.5513 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5786, allocations: 0 / 0.5513 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.5786, allocations: 5.641 kB / 0.5513 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.5794, allocations: 120.1 kB / 0.5514 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.5794, allocations: 8 kB / 0.5514 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.5802, allocations: 89.72 kB / 0.5515 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.5803, allocations: 15.25 kB / 0.5515 GB, free: 3.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5803, allocations: 4.938 kB / 0.5515 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002004/0.5823, allocations: 456.7 kB / 0.5519 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5824, allocations: 8.031 kB / 0.5519 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5824, allocations: 4 kB / 0.5519 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.5831, allocations: 113.1 kB / 0.5521 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.5831, allocations: 4 kB / 0.5521 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.5838, allocations: 78.84 kB / 0.5521 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.5839, allocations: 22.36 kB / 0.5522 GB, free: 2.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004284/0.5843, allocations: 240.9 kB / 0.5524 GB, free: 2.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5845, allocations: 39.53 kB / 0.5524 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.5889, allocations: 2.007 MB / 0.5544 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/0.589, allocations: 26.27 kB / 0.5544 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.589, allocations: 0 / 0.5544 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.589, allocations: 7.938 kB / 0.5544 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.5909, allocations: 1.047 MB / 0.5554 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.5909, allocations: 2.078 kB / 0.5554 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.5914, allocations: 101.5 kB / 0.5555 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5914, allocations: 0 / 0.5555 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.5914, allocations: 8.75 kB / 0.5555 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5914, allocations: 0 / 0.5555 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5914, allocations: 0 / 0.5555 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.5934, allocations: 1.17 MB / 0.5567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.5939, allocations: 259.9 kB / 0.5569 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.594, allocations: 7.25 kB / 0.5569 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.5945, allocations: 62.92 kB / 0.557 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5946, allocations: 35.88 kB / 0.557 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5946, allocations: 11.5 kB / 0.557 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005621/0.5952, allocations: 372.7 kB / 0.5574 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5952, allocations: 0 / 0.5574 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005238/0.6005, allocations: 1.141 MB / 0.5585 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00932/0.6098, allocations: 2.832 MB / 0.5613 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.6121, allocations: 0.9171 MB / 0.5622 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6121, allocations: 0 / 0.5622 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008086/0.613, allocations: 0.5477 MB / 0.5627 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6142, allocations: 220.9 kB / 0.5629 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/0.6232, allocations: 5.638 MB / 0.5684 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.6238, allocations: 0.9992 MB / 0.5694 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009208/0.6247, allocations: 0.5446 MB / 0.5699 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.625, allocations: 272.7 kB / 0.5702 GB, free: 3.352 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.625, allocations: 0 / 0.5702 GB, free: 3.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08296/0.708, allocations: 48.31 MB / 0.6174 GB, free: 3.469 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.7082, allocations: 241.1 kB / 0.6176 GB, free: 3.227 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.134/4.842, allocations: 2.188 kB / 0.6176 GB, free: 3.227 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat