Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.001099/0.001099, allocations: 177.6 kB / 8.005 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.711/1.711, allocations: 205.3 MB / 213.7 MB, free: 1.746 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.001011/0.001011, allocations: 82.62 kB / 261.7 MB, free: 1.691 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.23/0.23, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.82e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.73/7.865, allocations: 2.753 GB / 3.219 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/7.865, allocations: 80.12 kB / 3.219 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8125/8.678, allocations: 214 MB / 3.428 GB, free: 86.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.136e-06/8.678, allocations: 3.125 kB / 3.428 GB, free: 86.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.527e-05/8.678, allocations: 9.656 kB / 3.428 GB, free: 86.27 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005894/8.684, allocations: 1.188 MB / 3.43 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/8.684, allocations: 10.69 kB / 3.43 GB, free: 85.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/8.686, allocations: 220 kB / 3.43 GB, free: 85.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/8.686, allocations: 382.8 kB / 3.43 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/8.686, allocations: 14.94 kB / 3.43 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/8.686, allocations: 14.69 kB / 3.43 GB, free: 85.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005234/8.687, allocations: 298.8 kB / 3.43 GB, free: 85.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/8.687, allocations: 382.1 kB / 3.431 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/8.688, allocations: 7.344 kB / 3.431 GB, free: 84.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/8.688, allocations: 3.984 kB / 3.431 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/8.688, allocations: 11.33 kB / 3.431 GB, free: 84.84 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.01931/8.707, allocations: 10.13 MB / 3.441 GB, free: 78.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/8.707, allocations: 235.7 kB / 3.441 GB, free: 77.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/8.708, allocations: 118.7 kB / 3.441 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04077/8.748, allocations: 24.16 MB / 3.465 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/8.748, allocations: 42.5 kB / 3.465 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/8.748, allocations: 0 / 3.465 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24): time 0.001794/8.75, allocations: 0.5085 MB / 3.465 GB, free: 59.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/8.75, allocations: 102.8 kB / 3.465 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/8.751, allocations: 230.3 kB / 3.466 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/8.751, allocations: 33.64 kB / 3.466 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/8.751, allocations: 211.8 kB / 3.466 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/8.751, allocations: 82.75 kB / 3.466 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/8.751, allocations: 0 / 3.466 GB, free: 58.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.014e-05/8.751, allocations: 338.8 kB / 3.466 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/8.751, allocations: 83.98 kB / 3.466 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/8.751, allocations: 182.9 kB / 3.466 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/8.752, allocations: 162.9 kB / 3.467 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/8.752, allocations: 0 / 3.467 GB, free: 57.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000819/8.753, allocations: 357 kB / 3.467 GB, free: 57.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/8.753, allocations: 7.984 kB / 3.467 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/8.753, allocations: 12.27 kB / 3.467 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/8.753, allocations: 4 kB / 3.467 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/8.753, allocations: 99.81 kB / 3.467 GB, free: 57.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/8.753, allocations: 7.938 kB / 3.467 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/8.753, allocations: 63.64 kB / 3.467 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/8.753, allocations: 16 kB / 3.467 GB, free: 57.25 MB / 0.4948 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 () * 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 9.588e-05/8.754, allocations: 116.9 kB / 3.467 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007338/8.754, allocations: 297 kB / 3.468 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/8.754, allocations: 35.58 kB / 3.468 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/8.756, allocations: 1.627 MB / 3.469 GB, free: 55.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/8.756, allocations: 27.95 kB / 3.469 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/8.756, allocations: 3.938 kB / 3.469 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/8.756, allocations: 7.984 kB / 3.469 GB, free: 55.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007632/8.757, allocations: 0.831 MB / 3.47 GB, free: 54.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/8.757, allocations: 0 / 3.47 GB, free: 54.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/8.757, allocations: 95.86 kB / 3.47 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/8.757, allocations: 0 / 3.47 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/8.757, allocations: 7.953 kB / 3.47 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/8.757, allocations: 0 / 3.47 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/8.757, allocations: 0 / 3.47 GB, free: 54.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/8.758, allocations: 0.9149 MB / 3.471 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/8.758, allocations: 219.6 kB / 3.471 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/8.758, allocations: 0 / 3.471 GB, free: 52.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/8.759, allocations: 47.91 kB / 3.471 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/8.759, allocations: 32.23 kB / 3.471 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/8.759, allocations: 8 kB / 3.471 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000244/8.759, allocations: 294.9 kB / 3.472 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.759, allocations: 0 / 3.472 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005158/8.764, allocations: 0.9897 MB / 3.473 GB, free: 51.63 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * 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.008193/8.773, allocations: 2.793 MB / 3.475 GB, free: 48.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006633/8.773, allocations: 461.4 kB / 3.476 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/8.773, allocations: 4.125 kB / 3.476 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/8.774, allocations: 414 kB / 3.476 GB, free: 48.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/8.775, allocations: 165.6 kB / 3.476 GB, free: 47.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/8.779, allocations: 1.477 MB / 3.478 GB, free: 46.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/8.779, allocations: 0.9597 MB / 3.479 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004164/8.78, allocations: 262.8 kB / 3.479 GB, free: 45.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/8.78, allocations: 235.3 kB / 3.479 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of SimCode: time 5.72e-07/8.78, allocations: 0 / 3.479 GB, free: 44.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06592/8.846, allocations: 35.01 MB / 3.513 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/8.846, allocations: 182.8 kB / 3.513 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/12.31, allocations: 4 kB / 3.513 GB, free: 9.668 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat