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.001252/0.001252, allocations: 180.2 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.485/1.485, allocations: 221.3 MB / 236 MB, free: 2.961 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.0009592/0.0009593, allocations: 87.67 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.2149/0.2149, allocations: 44.17 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.952e-05, allocations: 224 / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.653/7.782, allocations: 2.759 GB / 3.261 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/7.782, allocations: 81.95 kB / 3.261 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8953/8.677, allocations: 219 MB / 3.475 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/8.677, allocations: 0 / 3.475 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.346e-05/8.677, allocations: 7.844 kB / 3.475 GB, free: 95.32 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.005655/8.683, allocations: 1.188 MB / 3.476 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/8.683, allocations: 14.16 kB / 3.476 GB, free: 94.71 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.283e-05/8.683, allocations: 69.5 kB / 3.476 GB, free: 94.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/8.685, allocations: 219.6 kB / 3.476 GB, free: 94.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/8.685, allocations: 375.2 kB / 3.477 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/8.686, allocations: 29.97 kB / 3.477 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/8.686, allocations: 24.91 kB / 3.477 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/8.687, allocations: 0.5803 MB / 3.477 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/8.687, allocations: 3.5 kB / 3.477 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/8.687, allocations: 14.58 kB / 3.477 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/8.687, allocations: 10.12 kB / 3.477 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/8.688, allocations: 0.4908 MB / 3.478 GB, free: 94.29 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.003472/8.692, allocations: 2.605 MB / 3.48 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/8.693, allocations: 421.2 kB / 3.481 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/8.693, allocations: 133.9 kB / 3.481 GB, free: 92.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04299/8.736, allocations: 24.16 MB / 3.505 GB, free: 77.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/8.736, allocations: 37.28 kB / 3.505 GB, free: 77.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/8.736, allocations: 0 / 3.505 GB, free: 77.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002118/8.738, allocations: 0.6312 MB / 3.505 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/8.739, allocations: 110.6 kB / 3.505 GB, free: 77.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/8.739, allocations: 274.6 kB / 3.506 GB, free: 77.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/8.739, allocations: 29.67 kB / 3.506 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/8.739, allocations: 211.4 kB / 3.506 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/8.739, allocations: 81.39 kB / 3.506 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/8.739, allocations: 10.12 kB / 3.506 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/8.739, allocations: 341.1 kB / 3.506 GB, free: 76.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/8.739, allocations: 89.64 kB / 3.506 GB, free: 76.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/8.74, allocations: 179.3 kB / 3.507 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/8.74, allocations: 115.2 kB / 3.507 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/8.74, allocations: 3.938 kB / 3.507 GB, free: 76.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004713/8.74, allocations: 330.5 kB / 3.507 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/8.74, allocations: 3.188 kB / 3.507 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/8.74, allocations: 3.125 kB / 3.507 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/8.74, allocations: 6.531 kB / 3.507 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/8.741, allocations: 103.9 kB / 3.507 GB, free: 76.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/8.741, allocations: 11.3 kB / 3.507 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/8.741, allocations: 67.42 kB / 3.507 GB, free: 76.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/8.741, allocations: 22.27 kB / 3.507 GB, free: 76.37 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 () * 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.0001057/8.741, allocations: 123.2 kB / 3.507 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/8.741, allocations: 33.03 kB / 3.507 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/8.743, allocations: 1.857 MB / 3.509 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.959e-05/8.743, allocations: 27.39 kB / 3.509 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/8.743, allocations: 2.859 kB / 3.509 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/8.743, allocations: 11.69 kB / 3.509 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009196/8.744, allocations: 0.994 MB / 3.51 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/8.744, allocations: 2.844 kB / 3.51 GB, free: 74.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/8.744, allocations: 90.44 kB / 3.51 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/8.744, allocations: 0 / 3.51 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/8.745, allocations: 15.16 kB / 3.51 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/8.745, allocations: 7.75 kB / 3.51 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/8.745, allocations: 0 / 3.51 GB, free: 74.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/8.745, allocations: 0.9782 MB / 3.511 GB, free: 74.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/8.746, allocations: 220.5 kB / 3.511 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/8.746, allocations: 4 kB / 3.511 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/8.746, allocations: 56.28 kB / 3.511 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/8.746, allocations: 33.55 kB / 3.512 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/8.746, allocations: 11.33 kB / 3.512 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003015/8.746, allocations: 311.9 kB / 3.512 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/8.747, allocations: 0 / 3.512 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005346/8.752, allocations: 1.02 MB / 3.513 GB, free: 73.67 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 () * 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.008607/8.76, allocations: 2.812 MB / 3.516 GB, free: 72.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008981/8.761, allocations: 0.499 MB / 3.516 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/8.761, allocations: 0 / 3.516 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/8.762, allocations: 478.2 kB / 3.517 GB, free: 72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/8.763, allocations: 202.9 kB / 3.517 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/8.767, allocations: 1.593 MB / 3.518 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/8.768, allocations: 0.9785 MB / 3.519 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004431/8.768, allocations: 241.1 kB / 3.519 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/8.769, allocations: 257.5 kB / 3.52 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/8.769, allocations: 0 / 3.52 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07347/8.842, allocations: 41.09 MB / 3.56 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/8.842, allocations: 208.4 kB / 3.56 GB, free: 67.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/12.22, allocations: 4 kB / 3.56 GB, free: 67.97 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