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.001436/0.001436, allocations: 169.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009815/0.0009815, allocations: 95.02 kB / 281.6 MB, free: 5.328 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.2253/0.2253, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.96e-05, allocations: 7.938 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1522, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.289/7.441, allocations: 2.759 GB / 3.253 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/7.441, allocations: 89.67 kB / 3.253 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.37/8.812, allocations: 216.3 MB / 3.465 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.415e-06/8.812, allocations: 0.7031 kB / 3.465 GB, free: 86.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.375e-05/8.812, allocations: 10.94 kB / 3.465 GB, free: 86.41 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.006499/8.819, allocations: 1.191 MB / 3.466 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/8.819, allocations: 13.48 kB / 3.466 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/8.821, allocations: 218.4 kB / 3.466 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/8.821, allocations: 378.6 kB / 3.466 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/8.821, allocations: 14.53 kB / 3.466 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/8.821, allocations: 20.2 kB / 3.466 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006787/8.822, allocations: 300.7 kB / 3.467 GB, free: 85.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/8.823, allocations: 381.2 kB / 3.467 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/8.823, allocations: 0.7812 kB / 3.467 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/8.823, allocations: 1.594 kB / 3.467 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/8.823, allocations: 7.625 kB / 3.467 GB, free: 85.57 MB / 0.5105 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.02064/8.844, allocations: 10.13 MB / 3.477 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/8.844, allocations: 233.2 kB / 3.477 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/8.844, allocations: 128.2 kB / 3.477 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04898/8.893, allocations: 24.15 MB / 3.501 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/8.893, allocations: 37.59 kB / 3.501 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 2.816e-06/8.893, allocations: 1.781 kB / 3.501 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.001932/8.895, allocations: 0.5133 MB / 3.501 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/8.895, allocations: 106.7 kB / 3.502 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/8.896, allocations: 233.2 kB / 3.502 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/8.896, allocations: 25.7 kB / 3.502 GB, free: 64.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/8.896, allocations: 208.2 kB / 3.502 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.08e-05/8.896, allocations: 80.17 kB / 3.502 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/8.896, allocations: 0 / 3.502 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001132/8.896, allocations: 350.9 kB / 3.502 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/8.896, allocations: 82.19 kB / 3.503 GB, free: 63.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/8.896, allocations: 177.6 kB / 3.503 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/8.897, allocations: 171.9 kB / 3.503 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/8.897, allocations: 0 / 3.503 GB, free: 63.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008701/8.898, allocations: 358.8 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/8.898, allocations: 9.406 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/8.898, allocations: 3.781 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/8.898, allocations: 3.875 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/8.898, allocations: 100.4 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/8.898, allocations: 7.625 kB / 3.503 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/8.899, allocations: 63.92 kB / 3.503 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/8.899, allocations: 15.25 kB / 3.503 GB, free: 63.56 MB / 0.5105 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.0001112/8.899, allocations: 114.7 kB / 3.504 GB, free: 63.45 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007577/8.9, allocations: 293.4 kB / 3.504 GB, free: 63.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/8.9, allocations: 39.53 kB / 3.504 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/8.901, allocations: 1.625 MB / 3.505 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/8.902, allocations: 27.56 kB / 3.505 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/8.902, allocations: 0 / 3.505 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/8.902, allocations: 3.953 kB / 3.505 GB, free: 63.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/8.903, allocations: 0.8394 MB / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/8.903, allocations: 0 / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/8.903, allocations: 94.59 kB / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/8.903, allocations: 3.094 kB / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/8.903, allocations: 2.516 kB / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/8.903, allocations: 4.375 kB / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/8.903, allocations: 0 / 3.506 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/8.904, allocations: 0.9252 MB / 3.507 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/8.904, allocations: 213.9 kB / 3.507 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/8.904, allocations: 3.688 kB / 3.507 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/8.905, allocations: 41.62 kB / 3.508 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/8.905, allocations: 31.56 kB / 3.508 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/8.905, allocations: 15.61 kB / 3.508 GB, free: 62.66 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002806/8.905, allocations: 287.8 kB / 3.508 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/8.905, allocations: 0 / 3.508 GB, free: 62.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006051/8.911, allocations: 0.9957 MB / 3.509 GB, free: 62.46 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: 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.01028/8.922, allocations: 2.797 MB / 3.512 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001003/8.923, allocations: 457.5 kB / 3.512 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/8.923, allocations: 0 / 3.512 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004459/8.923, allocations: 422.4 kB / 3.512 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/8.924, allocations: 168.2 kB / 3.513 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/8.931, allocations: 1.481 MB / 3.514 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/8.931, allocations: 0.9698 MB / 3.515 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004884/8.932, allocations: 247.8 kB / 3.515 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/8.932, allocations: 235.8 kB / 3.515 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/8.932, allocations: 0 / 3.515 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/9.006, allocations: 35.04 MB / 3.55 GB, free: 58.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/9.006, allocations: 188.7 kB / 3.55 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/12.15, allocations: 0 / 3.55 GB, free: 58.78 MB / 0.5105 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