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.002171/0.00217, allocations: 183.2 kB / 15.76 MB, free: 6.363 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.112/2.112, allocations: 205.4 MB / 221.9 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.001042/0.001043, allocations: 82.88 kB / 270.2 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.2696/0.2696, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 11.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 58.84 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.871/6, allocations: 2.772 GB / 3.251 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/6, allocations: 92.56 kB / 3.251 GB, free: 67.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7474/6.747, allocations: 237.7 MB / 3.483 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/6.747, allocations: 0 / 3.483 GB, free: 46.15 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.032e-05/6.748, allocations: 12 kB / 3.483 GB, free: 46.14 MB / 0.5105 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.005544/6.753, allocations: 1.34 MB / 3.484 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/6.753, allocations: 12.03 kB / 3.484 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/6.753, allocations: 74.53 kB / 3.484 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/6.755, allocations: 247.2 kB / 3.484 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/6.756, allocations: 415.2 kB / 3.485 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/6.756, allocations: 28.59 kB / 3.485 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/6.756, allocations: 40 kB / 3.485 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/6.757, allocations: 0.6343 MB / 3.485 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/6.757, allocations: 0 / 3.485 GB, free: 43.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/6.757, allocations: 19.95 kB / 3.485 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/6.757, allocations: 11.94 kB / 3.485 GB, free: 43.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/6.759, allocations: 0.5878 MB / 3.486 GB, free: 42.6 MB / 0.5105 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.002492/6.761, allocations: 2.723 MB / 3.489 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/6.763, allocations: 0.5454 MB / 3.489 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03749/6.8, allocations: 24.07 MB / 3.513 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/6.8, allocations: 38.56 kB / 3.513 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.314e-06/6.8, allocations: 0 / 3.513 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.002434/6.803, allocations: 0.8114 MB / 3.514 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/6.803, allocations: 110.8 kB / 3.514 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/6.803, allocations: 341.1 kB / 3.514 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/6.803, allocations: 33.7 kB / 3.514 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/6.803, allocations: 228.1 kB / 3.514 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/6.803, allocations: 98.58 kB / 3.514 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/6.803, allocations: 8 kB / 3.514 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/6.803, allocations: 354.8 kB / 3.515 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/6.804, allocations: 151.9 kB / 3.515 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/6.804, allocations: 283.2 kB / 3.515 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/6.805, allocations: 187.2 kB / 3.515 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.805, allocations: 4 kB / 3.515 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008345/6.805, allocations: 489.1 kB / 3.516 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/6.806, allocations: 1.398 MB / 3.517 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/6.806, allocations: 4 kB / 3.517 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/6.806, allocations: 8 kB / 3.517 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/6.806, allocations: 99.88 kB / 3.517 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/6.806, allocations: 15.92 kB / 3.517 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/6.806, allocations: 67.56 kB / 3.517 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/6.807, allocations: 23.98 kB / 3.517 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-06/6.807, allocations: 8 kB / 3.517 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007394/6.807, allocations: 411.9 kB / 3.518 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/6.807, allocations: 8.031 kB / 3.518 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/6.807, allocations: 8 kB / 3.518 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/6.808, allocations: 103.8 kB / 3.518 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/6.808, allocations: 11.94 kB / 3.518 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/6.808, allocations: 71.56 kB / 3.518 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/6.808, allocations: 20 kB / 3.518 GB, free: 6.551 MB / 0.5105 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 () * Number of clocked 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.0002021/6.808, allocations: 252.9 kB / 3.518 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/6.808, allocations: 39.53 kB / 3.518 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/6.81, allocations: 1.952 MB / 3.52 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/6.81, allocations: 27.95 kB / 3.52 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/6.81, allocations: 7.953 kB / 3.52 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/6.81, allocations: 3.984 kB / 3.52 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008975/6.811, allocations: 1.063 MB / 3.521 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/6.811, allocations: 0 / 3.521 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/6.812, allocations: 83.94 kB / 3.521 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/6.812, allocations: 0 / 3.521 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/6.812, allocations: 12 kB / 3.521 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/6.812, allocations: 0 / 3.521 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/6.812, allocations: 0 / 3.521 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/6.813, allocations: 1.12 MB / 3.522 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/6.813, allocations: 263.3 kB / 3.523 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/6.813, allocations: 8 kB / 3.523 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/6.813, allocations: 39.97 kB / 3.523 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/6.813, allocations: 39.88 kB / 3.523 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/6.814, allocations: 12 kB / 3.523 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003984/6.814, allocations: 382.8 kB / 3.523 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/6.814, allocations: 4 kB / 3.523 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.3201/7.134, allocations: 1.169 MB / 3.524 GB, free: 84.12 MB / 0.5105 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.01165/7.146, allocations: 2.97 MB / 3.527 GB, free: 83.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00255/7.148, allocations: 0.8553 MB / 3.528 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/7.148, allocations: 1 kB / 3.528 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/7.149, allocations: 0.5193 MB / 3.529 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/7.151, allocations: 230.7 kB / 3.529 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/7.159, allocations: 5.109 MB / 3.534 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/7.159, allocations: 1.004 MB / 3.535 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001383/7.161, allocations: 0.5383 MB / 3.535 GB, free: 79.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/7.161, allocations: 287.9 kB / 3.535 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/7.161, allocations: 0 / 3.535 GB, free: 79.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08192/7.243, allocations: 40.92 MB / 3.575 GB, free: 78.22 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/7.243, allocations: 233.3 kB / 3.576 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/10.81, allocations: 0 / 3.576 GB, free: 77.98 MB / 0.5105 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