Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.001073/0.001073, allocations: 176.8 kB / 17.06 MB, free: 5.098 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.371/1.371, allocations: 223.2 MB / 241 MB, free: 11.86 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.0008545/0.0008544, allocations: 100 kB / 292.1 MB, free: 10.9 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.3702/0.3702, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003439, allocations: 8 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3585, allocations: 61.91 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.746/7.105, allocations: 2.759 GB / 3.269 GB, free: 99.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/7.105, allocations: 91.92 kB / 3.269 GB, free: 99.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8693/7.974, allocations: 219.7 MB / 3.484 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.895e-06/7.974, allocations: 0 / 3.484 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.479e-05/7.974, allocations: 10.97 kB / 3.484 GB, free: 71.98 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005867/7.98, allocations: 1.231 MB / 3.485 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/7.98, allocations: 7.188 kB / 3.485 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.439e-05/7.98, allocations: 67.88 kB / 3.485 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/7.982, allocations: 220 kB / 3.485 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/7.983, allocations: 385.1 kB / 3.485 GB, free: 70.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/7.983, allocations: 24.53 kB / 3.485 GB, free: 70.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/7.983, allocations: 27.41 kB / 3.486 GB, free: 70.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/7.985, allocations: 0.6071 MB / 3.486 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/7.985, allocations: 3.812 kB / 3.486 GB, free: 70.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/7.985, allocations: 19.59 kB / 3.486 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/7.985, allocations: 7.781 kB / 3.486 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/7.986, allocations: 0.5832 MB / 3.487 GB, free: 70.39 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.003502/7.99, allocations: 2.604 MB / 3.489 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/7.991, allocations: 480.5 kB / 3.49 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04142/8.033, allocations: 24.08 MB / 3.513 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/8.033, allocations: 38.22 kB / 3.513 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/8.033, allocations: 0 / 3.513 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002731/8.036, allocations: 0.8561 MB / 3.514 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/8.036, allocations: 110.8 kB / 3.514 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/8.036, allocations: 270.2 kB / 3.514 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/8.036, allocations: 33.7 kB / 3.514 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/8.036, allocations: 206.9 kB / 3.515 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/8.036, allocations: 86.42 kB / 3.515 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/8.036, allocations: 4 kB / 3.515 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/8.036, allocations: 342 kB / 3.515 GB, free: 50.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/8.037, allocations: 160.8 kB / 3.515 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/8.037, allocations: 249.4 kB / 3.515 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/8.037, allocations: 167.1 kB / 3.516 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/8.037, allocations: 4 kB / 3.516 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009299/8.038, allocations: 465.7 kB / 3.516 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/8.038, allocations: 4 kB / 3.516 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/8.038, allocations: 4 kB / 3.516 GB, free: 49.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/8.038, allocations: 4 kB / 3.516 GB, free: 49.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/8.039, allocations: 103.6 kB / 3.516 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/8.039, allocations: 7.516 kB / 3.516 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/8.039, allocations: 74.66 kB / 3.516 GB, free: 49.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/8.039, allocations: 19.94 kB / 3.516 GB, free: 49.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.000179/8.039, allocations: 157.8 kB / 3.516 GB, free: 49.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/8.04, allocations: 35.56 kB / 3.516 GB, free: 49.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/8.042, allocations: 1.935 MB / 3.518 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/8.042, allocations: 31.28 kB / 3.518 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/8.042, allocations: 0 / 3.518 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/8.042, allocations: 0 / 3.518 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009488/8.043, allocations: 1.012 MB / 3.519 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/8.043, allocations: 0 / 3.519 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/8.043, allocations: 93.61 kB / 3.519 GB, free: 46.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/8.043, allocations: 4 kB / 3.519 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/8.043, allocations: 11.84 kB / 3.52 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/8.043, allocations: 4 kB / 3.52 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/8.043, allocations: 0 / 3.52 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/8.044, allocations: 1.113 MB / 3.521 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/8.044, allocations: 222.2 kB / 3.521 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/8.045, allocations: 12 kB / 3.521 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/8.045, allocations: 51.44 kB / 3.521 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/8.045, allocations: 34.67 kB / 3.521 GB, free: 45.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/8.045, allocations: 8 kB / 3.521 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002876/8.045, allocations: 328.9 kB / 3.521 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/8.045, allocations: 3.938 kB / 3.521 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004936/8.05, allocations: 1.014 MB / 3.522 GB, free: 44.16 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.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 (35): * Single equations (assignments): 26 * 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.009204/8.059, allocations: 2.93 MB / 3.525 GB, free: 41.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001326/8.061, allocations: 0.6215 MB / 3.526 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/8.061, allocations: 0 / 3.526 GB, free: 41.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006442/8.061, allocations: 0.5316 MB / 3.526 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/8.063, allocations: 193 kB / 3.526 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008079/8.071, allocations: 5.202 MB / 3.531 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/8.071, allocations: 0.9845 MB / 3.532 GB, free: 34.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000499/8.072, allocations: 247.1 kB / 3.533 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/8.072, allocations: 250.2 kB / 3.533 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/8.072, allocations: 4 kB / 3.533 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/8.467, allocations: 39.08 MB / 3.571 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/8.468, allocations: 225.8 kB / 3.571 GB, free: 83.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/11.66, allocations: 0 / 3.571 GB, free: 83.73 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat