Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",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.001329/0.001329, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 82.64 kB / 261.8 MB, free: 1.676 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.2592/0.2592, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.208e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.825/7.996, allocations: 2.771 GB / 3.237 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/7.996, allocations: 81.36 kB / 3.237 GB, free: 98.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.833/8.829, allocations: 234.1 MB / 3.466 GB, free: 65.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/8.829, allocations: 0 / 3.466 GB, free: 65.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.166e-05/8.83, allocations: 12 kB / 3.466 GB, free: 65.84 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005421/8.835, allocations: 1.288 MB / 3.467 GB, free: 64.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/8.835, allocations: 11.97 kB / 3.467 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/8.837, allocations: 255.2 kB / 3.467 GB, free: 64.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/8.838, allocations: 411.2 kB / 3.468 GB, free: 63.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/8.838, allocations: 16 kB / 3.468 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/8.838, allocations: 27.94 kB / 3.468 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005444/8.839, allocations: 341.4 kB / 3.468 GB, free: 63.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/8.839, allocations: 422.2 kB / 3.468 GB, free: 63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/8.839, allocations: 7.891 kB / 3.468 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/8.839, allocations: 0 / 3.468 GB, free: 62.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/8.839, allocations: 8 kB / 3.468 GB, free: 62.98 MB / 0.4948 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.01709/8.856, allocations: 10.25 MB / 3.478 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/8.857, allocations: 298.8 kB / 3.479 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/8.857, allocations: 132.8 kB / 3.479 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.041/8.898, allocations: 24.15 MB / 3.502 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/8.898, allocations: 42.55 kB / 3.502 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.745e-06/8.898, allocations: 0 / 3.502 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002152/8.9, allocations: 0.5807 MB / 3.503 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/8.901, allocations: 106.8 kB / 3.503 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/8.901, allocations: 274.2 kB / 3.503 GB, free: 23.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/8.901, allocations: 25.7 kB / 3.503 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/8.901, allocations: 236.2 kB / 3.504 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/8.901, allocations: 98.53 kB / 3.504 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/8.901, allocations: 4 kB / 3.504 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/8.901, allocations: 346.8 kB / 3.504 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/8.901, allocations: 104 kB / 3.504 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/8.902, allocations: 223.4 kB / 3.504 GB, free: 22.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/8.902, allocations: 223.8 kB / 3.505 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/8.902, allocations: 3.984 kB / 3.505 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001104/8.903, allocations: 464.8 kB / 3.505 GB, free: 21.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002847/8.904, allocations: 1.396 MB / 3.506 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/8.904, allocations: 4 kB / 3.506 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/8.904, allocations: 8 kB / 3.506 GB, free: 19.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/8.904, allocations: 103.9 kB / 3.506 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/8.904, allocations: 11.94 kB / 3.506 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/8.905, allocations: 63.64 kB / 3.507 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/8.905, allocations: 27.92 kB / 3.507 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/8.905, allocations: 4 kB / 3.507 GB, free: 19.67 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008554/8.906, allocations: 356 kB / 3.507 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/8.906, allocations: 4 kB / 3.507 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/8.906, allocations: 4 kB / 3.507 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/8.906, allocations: 107.8 kB / 3.507 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/8.906, allocations: 4 kB / 3.507 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/8.906, allocations: 63.88 kB / 3.507 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/8.906, allocations: 20 kB / 3.507 GB, free: 19.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (44): * Single equations (assignments): 44 * 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.0001251/8.906, allocations: 116.9 kB / 3.507 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009506/8.907, allocations: 369 kB / 3.508 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/8.907, allocations: 31.62 kB / 3.508 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/8.909, allocations: 1.714 MB / 3.509 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/8.909, allocations: 31.91 kB / 3.509 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/8.909, allocations: 0 / 3.509 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/8.909, allocations: 3.984 kB / 3.509 GB, free: 16.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/8.91, allocations: 0.869 MB / 3.51 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/8.91, allocations: 3.984 kB / 3.51 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/8.91, allocations: 87.94 kB / 3.51 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/8.91, allocations: 0 / 3.51 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/8.91, allocations: 4 kB / 3.51 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/8.91, allocations: 3.938 kB / 3.51 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/8.91, allocations: 3.938 kB / 3.51 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/8.912, allocations: 0.995 MB / 3.511 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/8.912, allocations: 259.5 kB / 3.511 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/8.912, allocations: 0 / 3.511 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/8.912, allocations: 35.88 kB / 3.511 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/8.912, allocations: 35.7 kB / 3.512 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/8.912, allocations: 19.98 kB / 3.512 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003152/8.913, allocations: 314.9 kB / 3.512 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.913, allocations: 0 / 3.512 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006024/8.919, allocations: 1.151 MB / 3.513 GB, free: 13.01 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.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): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0112/8.93, allocations: 2.905 MB / 3.516 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001372/8.931, allocations: 0.6629 MB / 3.516 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/8.932, allocations: 3.938 kB / 3.516 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/8.932, allocations: 437.1 kB / 3.517 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/8.933, allocations: 179.7 kB / 3.517 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/8.941, allocations: 1.582 MB / 3.519 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/8.941, allocations: 0.9918 MB / 3.52 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001032/8.942, allocations: 0.5647 MB / 3.52 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/8.943, allocations: 267.3 kB / 3.52 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of SimCode: time 1.353e-06/8.943, allocations: 0 / 3.52 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3818/9.324, allocations: 37.26 MB / 3.557 GB, free: 79.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/9.325, allocations: 187.8 kB / 3.557 GB, free: 78.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/12.79, allocations: 6.297 kB / 3.557 GB, free: 78.94 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat