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.001611/0.001611, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001196/0.001196, allocations: 95.39 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5239/0.5239, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007167/0.000717, allocations: 19.98 kB / 431.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1417, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.851/8.993, allocations: 2.8 GB / 3.279 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/8.993, allocations: 89.5 kB / 3.279 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.646/10.64, allocations: 237.7 MB / 3.511 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.284e-06/10.64, allocations: 2.344 kB / 3.511 GB, free: 64.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.114e-05/10.64, allocations: 9.469 kB / 3.511 GB, free: 64.02 MB / 0.4948 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.006668/10.65, allocations: 1.364 MB / 3.513 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/10.65, allocations: 10.22 kB / 3.513 GB, free: 63.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/10.65, allocations: 71.75 kB / 3.513 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/10.65, allocations: 256.7 kB / 3.513 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/10.65, allocations: 414.7 kB / 3.513 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/10.65, allocations: 36.28 kB / 3.513 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/10.65, allocations: 30.56 kB / 3.513 GB, free: 63.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/10.65, allocations: 0.675 MB / 3.514 GB, free: 62.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/10.65, allocations: 3.188 kB / 3.514 GB, free: 62.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/10.65, allocations: 21.89 kB / 3.514 GB, free: 62.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/10.65, allocations: 6.812 kB / 3.514 GB, free: 62.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/10.66, allocations: 0.6473 MB / 3.515 GB, free: 62.97 MB / 0.4948 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.005127/10.66, allocations: 2.838 MB / 3.518 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/10.67, allocations: 0.5295 MB / 3.518 GB, free: 60.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07833/10.74, allocations: 24.19 MB / 3.542 GB, free: 46.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/10.74, allocations: 36.78 kB / 3.542 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 3.778e-06/10.74, allocations: 3.938 kB / 3.542 GB, free: 46.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.005343/10.75, allocations: 0.9003 MB / 3.543 GB, free: 46.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/10.75, allocations: 114.2 kB / 3.543 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/10.75, allocations: 336.3 kB / 3.543 GB, free: 45.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/10.75, allocations: 29.52 kB / 3.543 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/10.75, allocations: 268.1 kB / 3.543 GB, free: 45.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/10.75, allocations: 95.86 kB / 3.543 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/10.75, allocations: 3.625 kB / 3.543 GB, free: 45.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/10.75, allocations: 326.2 kB / 3.544 GB, free: 45.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009777/10.75, allocations: 185.1 kB / 3.544 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/10.75, allocations: 286.8 kB / 3.544 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/10.75, allocations: 199.9 kB / 3.544 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/10.75, allocations: 0 / 3.544 GB, free: 45.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002322/10.76, allocations: 0.4907 MB / 3.545 GB, free: 45.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/10.76, allocations: 1.046 MB / 3.546 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/10.76, allocations: 3.938 kB / 3.546 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/10.76, allocations: 3.094 kB / 3.546 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/10.76, allocations: 113.9 kB / 3.546 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/10.76, allocations: 10.48 kB / 3.546 GB, free: 44.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/10.76, allocations: 88.62 kB / 3.546 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/10.76, allocations: 17.75 kB / 3.546 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/10.76, allocations: 7.438 kB / 3.546 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00224/10.76, allocations: 456.8 kB / 3.547 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/10.76, allocations: 2.422 kB / 3.547 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/10.76, allocations: 7.844 kB / 3.547 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/10.76, allocations: 107.4 kB / 3.547 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/10.76, allocations: 12.28 kB / 3.547 GB, free: 44.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000701/10.76, allocations: 77.89 kB / 3.547 GB, free: 44.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/10.76, allocations: 19.23 kB / 3.547 GB, free: 44.02 MB / 0.4948 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.0003838/10.76, allocations: 250.9 kB / 3.547 GB, free: 43.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/10.76, allocations: 38.56 kB / 3.547 GB, free: 43.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/10.77, allocations: 1.997 MB / 3.549 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/10.77, allocations: 32.94 kB / 3.549 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/10.77, allocations: 4.297 kB / 3.549 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/10.77, allocations: 3.844 kB / 3.549 GB, free: 43.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/10.77, allocations: 1.054 MB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/10.77, allocations: 0.9688 kB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/10.77, allocations: 98.97 kB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/10.77, allocations: 4.312 kB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/10.77, allocations: 9.625 kB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/10.77, allocations: 2.688 kB / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/10.77, allocations: 0 / 3.55 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/10.77, allocations: 1.165 MB / 3.551 GB, free: 43.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/10.77, allocations: 269.4 kB / 3.552 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/10.77, allocations: 5.188 kB / 3.552 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/10.78, allocations: 55.42 kB / 3.552 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/10.78, allocations: 33.83 kB / 3.552 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/10.78, allocations: 15.27 kB / 3.552 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007998/10.78, allocations: 373.7 kB / 3.552 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/10.78, allocations: 0 / 3.552 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006829/10.78, allocations: 1.163 MB / 3.553 GB, free: 42.68 MB / 0.4948 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.0146/10.8, allocations: 3.044 MB / 3.556 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003985/10.8, allocations: 0.9128 MB / 3.557 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/10.8, allocations: 3.188 kB / 3.557 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/10.8, allocations: 0.5467 MB / 3.558 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/10.81, allocations: 227.3 kB / 3.558 GB, free: 41.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/10.82, allocations: 5.742 MB / 3.563 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/10.82, allocations: 1.002 MB / 3.564 GB, free: 37.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/10.82, allocations: 286.5 kB / 3.565 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/10.82, allocations: 0 / 3.565 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.629/14.45, allocations: 30.31 MB / 3.594 GB, free: 34.98 MB / 0.4948 GB (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