Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001708, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 90.81 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3148/0.3148, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004906, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.04534/0.1779, allocations: 24.24 MB / 0.5025 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03129/0.2092, allocations: 14.79 MB / 0.5169 GB, free: 2.109 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007096/0.21, allocations: 15.81 kB / 0.517 GB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.2116, allocations: 258.9 kB / 0.5172 GB, free: 1.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3509/0.5625, allocations: 2.952 MB / 0.5201 GB, free: 12.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01508/0.5776, allocations: 3.091 MB / 0.5231 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.5794, allocations: 0.6098 MB / 0.5237 GB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.5803, allocations: 245.6 kB / 0.5239 GB, free: 12.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.5821, allocations: 436.3 kB / 0.5243 GB, free: 12.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008979/0.583, allocations: 227.8 kB / 0.5246 GB, free: 12.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.5832, allocations: 17.59 kB / 0.5246 GB, free: 12.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02354/0.6068, allocations: 7.173 MB / 0.5316 GB, free: 12.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003111/0.6072, allocations: 85.72 kB / 0.5317 GB, free: 12.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.6075, allocations: 123 kB / 0.5318 GB, free: 12.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.6176, allocations: 3.066 MB / 0.5348 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6177, allocations: 0 / 0.5348 GB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.6177, allocations: 1.219 kB / 0.5348 GB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.6177, allocations: 0 / 0.5348 GB, free: 12.3 MB / 362.7 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.006404/0.6241, allocations: 1.269 MB / 0.536 GB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.6242, allocations: 16.88 kB / 0.536 GB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.6244, allocations: 73.94 kB / 0.5361 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/0.6273, allocations: 234.7 kB / 0.5363 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/0.6283, allocations: 393.7 kB / 0.5367 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.6285, allocations: 30.69 kB / 0.5367 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.6286, allocations: 33.14 kB / 0.5368 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.6317, allocations: 0.667 MB / 0.5374 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.6318, allocations: 4.25 kB / 0.5374 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/0.6319, allocations: 14.12 kB / 0.5374 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.6319, allocations: 13 kB / 0.5374 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.6355, allocations: 0.6551 MB / 0.5381 GB, free: 10.6 MB / 362.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.00544/0.641, allocations: 2.846 MB / 0.5409 GB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.6441, allocations: 0.534 MB / 0.5414 GB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08937/0.7335, allocations: 24.55 MB / 0.5654 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.7336, allocations: 41.55 kB / 0.5654 GB, free: 2.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.885e-06/0.7336, allocations: 0 / 0.5654 GB, free: 2.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.005697/0.7393, allocations: 0.8941 MB / 0.5663 GB, free: 1.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.7395, allocations: 107.3 kB / 0.5664 GB, free: 1.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.7402, allocations: 380.2 kB / 0.5667 GB, free: 1.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.7403, allocations: 33.33 kB / 0.5668 GB, free: 1.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.7406, allocations: 270.5 kB / 0.567 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.7407, allocations: 96.94 kB / 0.5671 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.7407, allocations: 3.812 kB / 0.5671 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.7409, allocations: 328.8 kB / 0.5674 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.742, allocations: 180.5 kB / 0.5676 GB, free: 396 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.7433, allocations: 287.3 kB / 0.5679 GB, free: 116 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.7445, allocations: 193 kB / 0.5681 GB, free: 15.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.7445, allocations: 0 / 0.5681 GB, free: 15.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002581/0.7471, allocations: 492.4 kB / 0.5685 GB, free: 15.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000485/0.7477, allocations: 1.06 MB / 0.5696 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7477, allocations: 4 kB / 0.5696 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.7477, allocations: 4 kB / 0.5696 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.7487, allocations: 113.5 kB / 0.5697 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.7488, allocations: 4 kB / 0.5697 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.7498, allocations: 88.78 kB / 0.5698 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.7499, allocations: 25.17 kB / 0.5698 GB, free: 14.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7499, allocations: 7.953 kB / 0.5698 GB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/0.7524, allocations: 457.9 kB / 0.5702 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.7525, allocations: 0 / 0.5702 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7525, allocations: 8 kB / 0.5703 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/0.7534, allocations: 108.7 kB / 0.5704 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.7535, allocations: 10.62 kB / 0.5704 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.7542, allocations: 82.88 kB / 0.5704 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.7543, allocations: 15.31 kB / 0.5705 GB, free: 13.73 MB / 394.7 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.0004294/0.7548, allocations: 236.9 kB / 0.5707 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.755, allocations: 43.48 kB / 0.5707 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.7598, allocations: 1.994 MB / 0.5727 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-05/0.7599, allocations: 30.02 kB / 0.5727 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7599, allocations: 0 / 0.5727 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.7599, allocations: 4 kB / 0.5727 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.7618, allocations: 1.046 MB / 0.5737 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.7618, allocations: 3.094 kB / 0.5737 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.7627, allocations: 98.73 kB / 0.5738 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.7628, allocations: 0 / 0.5738 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.7628, allocations: 18.19 kB / 0.5738 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/0.7628, allocations: 0 / 0.5738 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.7629, allocations: 4 kB / 0.5738 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003172/0.766, allocations: 1.155 MB / 0.575 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.7667, allocations: 271.4 kB / 0.5752 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.7669, allocations: 4.375 kB / 0.5752 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.7677, allocations: 62.16 kB / 0.5753 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7679, allocations: 31.7 kB / 0.5753 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.7679, allocations: 14.61 kB / 0.5753 GB, free: 10.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007733/0.7687, allocations: 371.1 kB / 0.5757 GB, free: 9.742 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7687, allocations: 3.844 kB / 0.5757 GB, free: 9.742 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005906/0.7747, allocations: 1.14 MB / 0.5768 GB, free: 8.656 MB / 394.7 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.01379/0.7885, allocations: 2.823 MB / 0.5796 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004029/0.7926, allocations: 0.9111 MB / 0.5805 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7927, allocations: 0 / 0.5805 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.7942, allocations: 0.5524 MB / 0.581 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.7966, allocations: 234.5 kB / 0.5812 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.8113, allocations: 5.676 MB / 0.5868 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.8121, allocations: 1.002 MB / 0.5877 GB, free: 14.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.8127, allocations: 278.3 kB / 0.588 GB, free: 14.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/0.8127, allocations: 0 / 0.588 GB, free: 14.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.634/4.447, allocations: 30.81 MB / 0.6181 GB, free: 244 kB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat does not exist to compare? outputFormat=mat