Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",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.001094/0.001094, allocations: 184.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001195/0.001195, allocations: 98.8 kB / 270.2 MB, free: 13.36 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.2398/0.2398, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1314, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.136, allocations: 351.5 MB / 0.8221 GB, free: 69.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.136, allocations: 92.45 kB / 0.8222 GB, free: 69.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.387/2.523, allocations: 306.7 MB / 1.122 GB, free: 71.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.118e-06/2.523, allocations: 6.844 kB / 1.122 GB, free: 71.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003023/2.524, allocations: 52.17 kB / 1.122 GB, free: 71.19 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01044/2.534, allocations: 2.283 MB / 1.124 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/2.534, allocations: 15.09 kB / 1.124 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001271/2.536, allocations: 175.9 kB / 1.124 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/2.537, allocations: 209.5 kB / 1.124 GB, free: 70.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005099/2.542, allocations: 1.28 MB / 1.126 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/2.543, allocations: 184.4 kB / 1.126 GB, free: 69.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008016/2.544, allocations: 123.9 kB / 1.126 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005962/2.55, allocations: 1.956 MB / 1.128 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.979e-05/2.55, allocations: 3.375 kB / 1.128 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000541/2.55, allocations: 52.39 kB / 1.128 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/2.55, allocations: 114.6 kB / 1.128 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/2.555, allocations: 1.952 MB / 1.13 GB, free: 69.36 MB / 0.4948 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.01685/2.572, allocations: 6.998 MB / 1.137 GB, free: 67.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/2.574, allocations: 1.348 MB / 1.138 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008151/2.582, allocations: 4.435 MB / 1.142 GB, free: 64.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/2.582, allocations: 52.16 kB / 1.143 GB, free: 64.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001403/2.584, allocations: 214 kB / 1.143 GB, free: 64.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 1.175e-05/2.584, allocations: 0 / 1.143 GB, free: 64.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.02232/2.606, allocations: 6.395 MB / 1.149 GB, free: 63.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/2.606, allocations: 222.6 kB / 1.149 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/2.609, allocations: 1.199 MB / 1.15 GB, free: 63.49 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/2.61, allocations: 52.33 kB / 1.15 GB, free: 63.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007764/2.61, allocations: 0.6603 MB / 1.151 GB, free: 63.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006041/2.611, allocations: 459.3 kB / 1.151 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/2.611, allocations: 28.06 kB / 1.152 GB, free: 62.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002152/2.612, allocations: 371.6 kB / 1.152 GB, free: 62.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/2.613, allocations: 0.7581 MB / 1.153 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/2.615, allocations: 1.089 MB / 1.154 GB, free: 62.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/2.617, allocations: 0.8951 MB / 1.155 GB, free: 62.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/2.617, allocations: 3.938 kB / 1.155 GB, free: 62.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005412/2.622, allocations: 2.441 MB / 1.157 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/2.623, allocations: 3.018 MB / 1.16 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.595e-05/2.623, allocations: 6.906 kB / 1.16 GB, free: 59.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007982/2.631, allocations: 1.496 MB / 1.161 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/2.633, allocations: 328.6 kB / 1.162 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/2.636, allocations: 1.705 MB / 1.163 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/2.639, allocations: 106.8 kB / 1.163 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/2.639, allocations: 75.77 kB / 1.163 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/2.639, allocations: 6.625 kB / 1.163 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004946/2.644, allocations: 2.134 MB / 1.166 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/2.644, allocations: 13.47 kB / 1.166 GB, free: 58.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005706/2.65, allocations: 1.031 MB / 1.167 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/2.652, allocations: 349.4 kB / 1.167 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/2.654, allocations: 1.426 MB / 1.168 GB, free: 57.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/2.656, allocations: 108 kB / 1.168 GB, free: 57.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004242/2.657, allocations: 73.77 kB / 1.168 GB, free: 57.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.001545/2.658, allocations: 483.7 kB / 1.169 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/2.659, allocations: 173.7 kB / 1.169 GB, free: 57.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/2.665, allocations: 2.526 MB / 1.172 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/2.665, allocations: 15.16 kB / 1.172 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/2.665, allocations: 0 / 1.172 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/2.665, allocations: 11.06 kB / 1.172 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/2.673, allocations: 4.076 MB / 1.176 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/2.673, allocations: 0 / 1.176 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/2.674, allocations: 239.8 kB / 1.176 GB, free: 57.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004924/2.679, allocations: 1.246 MB / 1.177 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/2.68, allocations: 38.84 kB / 1.177 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/2.682, allocations: 1.759 MB / 1.179 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/2.682, allocations: 0 / 1.179 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/2.689, allocations: 3.363 MB / 1.182 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/2.691, allocations: 449.9 kB / 1.183 GB, free: 55.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008375/2.692, allocations: 32.94 kB / 1.183 GB, free: 55.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/2.694, allocations: 114.2 kB / 1.183 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/2.694, allocations: 115 kB / 1.183 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/2.694, allocations: 60.55 kB / 1.183 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002203/2.697, allocations: 0.9129 MB / 1.184 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.697, allocations: 0 / 1.184 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008564/2.705, allocations: 1.435 MB / 1.185 GB, free: 54.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01288/2.718, allocations: 5.053 MB / 1.19 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008659/2.727, allocations: 3.134 MB / 1.193 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/2.727, allocations: 3.562 kB / 1.193 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/2.73, allocations: 1.029 MB / 1.194 GB, free: 50.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/2.734, allocations: 0.6838 MB / 1.195 GB, free: 50.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/2.75, allocations: 10.57 MB / 1.205 GB, free: 42.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/2.752, allocations: 1.413 MB / 1.206 GB, free: 41.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003609/2.756, allocations: 0.614 MB / 1.207 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/2.757, allocations: 0.636 MB / 1.208 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.565e-06/2.757, allocations: 0 / 1.208 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/2.88, allocations: 63.01 MB / 1.269 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002554/2.88, allocations: 221.9 kB / 1.269 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/7.099, allocations: 0 / 1.269 GB, free: 12.64 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat