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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 178.2 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009682/0.000968, allocations: 92.8 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.356/0.356, allocations: 44.21 MB / 387.5 MB, free: 39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 460 MB, free: 1.676 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3631, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.308/7.671, allocations: 2.806 GB / 3.315 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/7.671, allocations: 89 kB / 3.315 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9057/8.577, allocations: 240.1 MB / 3.55 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/8.577, allocations: 0 / 3.55 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.647e-05/8.577, allocations: 10.17 kB / 3.55 GB, free: 80.42 MB / 0.5261 GB 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.006763/8.584, allocations: 1.364 MB / 3.551 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/8.584, allocations: 10.81 kB / 3.551 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/8.584, allocations: 69.08 kB / 3.551 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/8.587, allocations: 259.2 kB / 3.552 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009475/8.588, allocations: 411.9 kB / 3.552 GB, free: 79.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/8.588, allocations: 32.25 kB / 3.552 GB, free: 79.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/8.588, allocations: 34.84 kB / 3.552 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/8.59, allocations: 0.672 MB / 3.553 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/8.59, allocations: 3.844 kB / 3.553 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/8.59, allocations: 19.19 kB / 3.553 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/8.59, allocations: 11.75 kB / 3.553 GB, free: 78.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/8.592, allocations: 0.6436 MB / 3.553 GB, free: 78.74 MB / 0.5261 GB 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.003374/8.595, allocations: 2.85 MB / 3.556 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/8.597, allocations: 0.5273 MB / 3.557 GB, free: 76.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04243/8.639, allocations: 24.19 MB / 3.58 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/8.639, allocations: 31.5 kB / 3.58 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.487e-06/8.639, allocations: 0 / 3.58 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.003409/8.643, allocations: 0.9069 MB / 3.581 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/8.643, allocations: 106.9 kB / 3.581 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/8.643, allocations: 337.8 kB / 3.582 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/8.643, allocations: 32.52 kB / 3.582 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/8.643, allocations: 221.6 kB / 3.582 GB, free: 60.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/8.644, allocations: 97.95 kB / 3.582 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/8.644, allocations: 8 kB / 3.582 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001032/8.644, allocations: 350.6 kB / 3.582 GB, free: 59.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/8.644, allocations: 182.7 kB / 3.582 GB, free: 59.83 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/8.645, allocations: 284.2 kB / 3.583 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/8.645, allocations: 193.8 kB / 3.583 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/8.645, allocations: 0 / 3.583 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001339/8.647, allocations: 0.514 MB / 3.583 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/8.647, allocations: 1.047 MB / 3.584 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/8.647, allocations: 6.5 kB / 3.584 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/8.647, allocations: 3.656 kB / 3.584 GB, free: 58.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/8.648, allocations: 116 kB / 3.585 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/8.648, allocations: 3.125 kB / 3.585 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/8.648, allocations: 92.55 kB / 3.585 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/8.648, allocations: 15.78 kB / 3.585 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/8.648, allocations: 3.25 kB / 3.585 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00119/8.649, allocations: 463.6 kB / 3.585 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/8.649, allocations: 7.094 kB / 3.585 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/8.649, allocations: 3.844 kB / 3.585 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/8.65, allocations: 114.1 kB / 3.585 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/8.65, allocations: 3.781 kB / 3.585 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/8.65, allocations: 84.39 kB / 3.585 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/8.651, allocations: 15.47 kB / 3.585 GB, free: 58.12 MB / 0.5261 GB 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.0002678/8.651, allocations: 243.8 kB / 3.586 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/8.651, allocations: 47.55 kB / 3.586 GB, free: 57.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/8.654, allocations: 1.998 MB / 3.588 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.646e-05/8.654, allocations: 30.5 kB / 3.588 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/8.654, allocations: 0 / 3.588 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/8.654, allocations: 0 / 3.588 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/8.655, allocations: 1.048 MB / 3.589 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/8.655, allocations: 0 / 3.589 GB, free: 56.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/8.655, allocations: 97.97 kB / 3.589 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/8.655, allocations: 6.938 kB / 3.589 GB, free: 56.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/8.655, allocations: 14.92 kB / 3.589 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/8.655, allocations: 3.531 kB / 3.589 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/8.655, allocations: 3.75 kB / 3.589 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/8.657, allocations: 1.163 MB / 3.59 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/8.657, allocations: 266.1 kB / 3.59 GB, free: 55.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/8.657, allocations: 4 kB / 3.59 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/8.658, allocations: 63.67 kB / 3.59 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/8.658, allocations: 43.25 kB / 3.59 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/8.658, allocations: 11.5 kB / 3.59 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004213/8.658, allocations: 373.2 kB / 3.591 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/8.658, allocations: 0 / 3.591 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005585/8.664, allocations: 1.166 MB / 3.592 GB, free: 55.18 MB / 0.5261 GB 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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.01189/8.676, allocations: 3.045 MB / 3.595 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002386/8.678, allocations: 0.9146 MB / 3.596 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.678, allocations: 3.906 kB / 3.596 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/8.679, allocations: 0.5439 MB / 3.596 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/8.681, allocations: 232 kB / 3.596 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/8.691, allocations: 5.703 MB / 3.602 GB, free: 49.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/8.691, allocations: 1.004 MB / 3.603 GB, free: 48.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000853/8.692, allocations: 0.5446 MB / 3.603 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/8.692, allocations: 274 kB / 3.604 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.714e-06/8.692, allocations: 0 / 3.604 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07182/8.764, allocations: 41.14 MB / 3.644 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/8.764, allocations: 240.5 kB / 3.644 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.372/12.14, allocations: 0 / 3.644 GB, free: 35.5 MB / 0.5261 GB (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