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.002292/0.002292, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.47/1.47, allocations: 221.4 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 87.81 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.15 MB / 382.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.699e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.787/7.923, allocations: 2.806 GB / 3.307 GB, free: 63.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/7.923, allocations: 88.19 kB / 3.307 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9386/8.862, allocations: 239.4 MB / 3.541 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.619e-06/8.862, allocations: 3.984 kB / 3.541 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.209e-05/8.862, allocations: 15.98 kB / 3.541 GB, free: 42.27 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.00708/8.869, allocations: 1.301 MB / 3.542 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/8.869, allocations: 11.97 kB / 3.543 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/8.869, allocations: 70.53 kB / 3.543 GB, free: 40.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/8.871, allocations: 260 kB / 3.543 GB, free: 40.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/8.872, allocations: 412.2 kB / 3.543 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/8.873, allocations: 28.78 kB / 3.543 GB, free: 40.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/8.873, allocations: 36 kB / 3.543 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/8.874, allocations: 0.632 MB / 3.544 GB, free: 39.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/8.874, allocations: 7.922 kB / 3.544 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/8.874, allocations: 12 kB / 3.544 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/8.874, allocations: 8 kB / 3.544 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/8.875, allocations: 0.5338 MB / 3.544 GB, free: 38.83 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.003448/8.879, allocations: 2.838 MB / 3.547 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/8.88, allocations: 454.5 kB / 3.548 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/8.88, allocations: 144.8 kB / 3.548 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04601/8.926, allocations: 24.28 MB / 3.571 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/8.926, allocations: 36.84 kB / 3.572 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 3.597e-06/8.927, allocations: 4 kB / 3.572 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.00361/8.93, allocations: 0.654 MB / 3.572 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/8.93, allocations: 110.8 kB / 3.572 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/8.931, allocations: 326.8 kB / 3.573 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/8.931, allocations: 33.7 kB / 3.573 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/8.931, allocations: 219.8 kB / 3.573 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/8.932, allocations: 94.67 kB / 3.573 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/8.932, allocations: 4 kB / 3.573 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001473/8.932, allocations: 354.8 kB / 3.573 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/8.932, allocations: 108.6 kB / 3.573 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/8.933, allocations: 210.1 kB / 3.574 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/8.933, allocations: 119.4 kB / 3.574 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/8.933, allocations: 7.938 kB / 3.574 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001072/8.934, allocations: 372.9 kB / 3.574 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003794/8.934, allocations: 1.056 MB / 3.575 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/8.934, allocations: 0 / 3.575 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/8.934, allocations: 4 kB / 3.575 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/8.935, allocations: 111.9 kB / 3.575 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/8.935, allocations: 8 kB / 3.575 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/8.936, allocations: 87.53 kB / 3.575 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/8.937, allocations: 16 kB / 3.575 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/8.937, allocations: 11.89 kB / 3.575 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009072/8.937, allocations: 303.8 kB / 3.576 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/8.938, allocations: 0 / 3.576 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/8.938, allocations: 12.34 kB / 3.576 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/8.938, allocations: 107.9 kB / 3.576 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/8.938, allocations: 4 kB / 3.576 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/8.939, allocations: 83.62 kB / 3.576 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/8.939, allocations: 16 kB / 3.576 GB, free: 3.332 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 () * 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.0001852/8.94, allocations: 132.8 kB / 3.576 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/8.94, allocations: 47.42 kB / 3.576 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/8.943, allocations: 1.898 MB / 3.578 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/8.943, allocations: 27.95 kB / 3.578 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/8.943, allocations: 0 / 3.578 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/8.943, allocations: 3.984 kB / 3.578 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/8.944, allocations: 1.035 MB / 3.579 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/8.945, allocations: 4 kB / 3.579 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/8.945, allocations: 103.9 kB / 3.579 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/8.945, allocations: 0 / 3.579 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/8.945, allocations: 15.98 kB / 3.579 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/9.413, allocations: 3.672 kB / 3.579 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/9.413, allocations: 3.375 kB / 3.579 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/9.415, allocations: 1.02 MB / 3.58 GB, free: 86.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/9.415, allocations: 270 kB / 3.58 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.459e-05/9.415, allocations: 7.281 kB / 3.58 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/9.416, allocations: 53.7 kB / 3.58 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/9.416, allocations: 39.3 kB / 3.58 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/9.416, allocations: 13.53 kB / 3.58 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006217/9.416, allocations: 359.7 kB / 3.581 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/9.416, allocations: 0 / 3.581 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008084/9.424, allocations: 1.163 MB / 3.582 GB, free: 86.26 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 () * 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.01194/9.436, allocations: 2.917 MB / 3.585 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001701/9.438, allocations: 0.7077 MB / 3.585 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/9.438, allocations: 0 / 3.585 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007549/9.439, allocations: 488.5 kB / 3.586 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/9.441, allocations: 220 kB / 3.586 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/9.448, allocations: 1.695 MB / 3.588 GB, free: 85.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/9.448, allocations: 1.004 MB / 3.589 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001462/9.45, allocations: 0.5618 MB / 3.589 GB, free: 84.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/9.45, allocations: 269.3 kB / 3.589 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/9.45, allocations: 1.094 kB / 3.589 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08956/9.54, allocations: 43.66 MB / 3.632 GB, free: 83.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/9.54, allocations: 210.2 kB / 3.632 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/13.11, allocations: 2.25 kB / 3.632 GB, free: 83.34 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