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.001416/0.001416, allocations: 177.6 kB / 8.002 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 2.021/2.021, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.00109/0.00109, allocations: 87.97 kB / 261.7 MB, free: 1.684 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.3723/0.3723, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.771e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.16, allocations: 58.86 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.298, allocations: 350.8 MB / 0.8086 GB, free: 85.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.298, allocations: 87.23 kB / 0.8087 GB, free: 85.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.343/2.641, allocations: 303.8 MB / 1.105 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.663e-06/2.641, allocations: 0 / 1.105 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002083/2.642, allocations: 47.22 kB / 1.105 GB, free: 66.84 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.00926/2.651, allocations: 2.064 MB / 1.107 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.278e-05/2.651, allocations: 13.94 kB / 1.107 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/2.653, allocations: 200.5 kB / 1.108 GB, free: 65.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005977/2.659, allocations: 1.275 MB / 1.109 GB, free: 65.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003209/2.659, allocations: 140.3 kB / 1.109 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006811/2.66, allocations: 74.88 kB / 1.109 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006106/2.666, allocations: 1.738 MB / 1.111 GB, free: 65.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/2.672, allocations: 1.751 MB / 1.112 GB, free: 65.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/2.672, allocations: 8.203 kB / 1.112 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/2.672, allocations: 10.09 kB / 1.112 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003576/2.673, allocations: 113.3 kB / 1.113 GB, free: 65.3 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.02192/2.695, allocations: 6.742 MB / 1.119 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/2.698, allocations: 1.267 MB / 1.12 GB, free: 63.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/2.7, allocations: 0.7571 MB / 1.121 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/2.711, allocations: 4.397 MB / 1.125 GB, free: 60.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/2.711, allocations: 48.5 kB / 1.126 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002128/2.713, allocations: 173.9 kB / 1.126 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 1.179e-05/2.713, allocations: 0 / 1.126 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.0352/2.749, allocations: 5.009 MB / 1.131 GB, free: 60.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/2.749, allocations: 222.5 kB / 1.131 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/2.752, allocations: 0.9043 MB / 1.132 GB, free: 59.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005236/2.753, allocations: 25.7 kB / 1.132 GB, free: 59.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009932/2.754, allocations: 0.6741 MB / 1.132 GB, free: 59.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009669/2.755, allocations: 436.5 kB / 1.133 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/2.755, allocations: 0 / 1.133 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002496/2.755, allocations: 368.7 kB / 1.133 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/2.758, allocations: 0.7169 MB / 1.134 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/2.76, allocations: 1.03 MB / 1.135 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0209/2.781, allocations: 2.554 MB / 1.137 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/2.781, allocations: 3.406 kB / 1.137 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.02821/2.809, allocations: 3.97 MB / 1.141 GB, free: 58.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008058/2.81, allocations: 2.974 MB / 1.144 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-05/2.81, allocations: 19.7 kB / 1.144 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007839/2.818, allocations: 1.127 MB / 1.145 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/2.821, allocations: 330.9 kB / 1.146 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006875/2.828, allocations: 2.094 MB / 1.148 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/2.831, allocations: 74.66 kB / 1.148 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006654/2.832, allocations: 79.66 kB / 1.148 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/2.832, allocations: 5.781 kB / 1.148 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02083/2.853, allocations: 3.539 MB / 1.151 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.909e-05/2.853, allocations: 10.77 kB / 1.151 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007423/2.86, allocations: 1.003 MB / 1.152 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/2.863, allocations: 346.8 kB / 1.152 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/2.868, allocations: 1.679 MB / 1.154 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/2.871, allocations: 77.08 kB / 1.154 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000622/2.871, allocations: 71.41 kB / 1.154 GB, free: 54.04 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 () * 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.001034/2.872, allocations: 145.2 kB / 1.154 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01054/2.883, allocations: 2.205 MB / 1.157 GB, free: 53.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008373/2.884, allocations: 148.5 kB / 1.157 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01268/2.896, allocations: 2.635 MB / 1.159 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/2.897, allocations: 20.47 kB / 1.159 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/2.897, allocations: 3.594 kB / 1.159 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.766e-05/2.897, allocations: 10.17 kB / 1.159 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/2.912, allocations: 4.061 MB / 1.163 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/2.912, allocations: 3.094 kB / 1.163 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/2.914, allocations: 227.7 kB / 1.164 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/2.916, allocations: 0.9265 MB / 1.164 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/2.917, allocations: 29.78 kB / 1.164 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/2.921, allocations: 2.095 MB / 1.166 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/2.921, allocations: 0 / 1.166 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01044/2.931, allocations: 3.455 MB / 1.17 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/2.933, allocations: 431.7 kB / 1.17 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005038/2.933, allocations: 10.25 kB / 1.17 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/2.936, allocations: 76.25 kB / 1.17 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/2.936, allocations: 113.4 kB / 1.17 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002416/2.936, allocations: 59.14 kB / 1.171 GB, free: 52.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001567/2.938, allocations: 0.6635 MB / 1.171 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.62e-07/2.938, allocations: 2.781 kB / 1.171 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008796/2.947, allocations: 1.343 MB / 1.172 GB, free: 51.88 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 () * 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.01786/2.965, allocations: 5.105 MB / 1.177 GB, free: 50.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01115/2.976, allocations: 2.966 MB / 1.18 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-05/2.976, allocations: 3.562 kB / 1.18 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/2.98, allocations: 0.9565 MB / 1.181 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007216/2.987, allocations: 0.624 MB / 1.182 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/3.005, allocations: 3.402 MB / 1.185 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/3.007, allocations: 1.419 MB / 1.187 GB, free: 49.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00562/3.012, allocations: 0.6375 MB / 1.187 GB, free: 49.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/3.014, allocations: 0.6071 MB / 1.188 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of SimCode: time 4.458e-06/3.014, allocations: 0 / 1.188 GB, free: 49.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/3.139, allocations: 58.63 MB / 1.245 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/3.139, allocations: 159.3 kB / 1.245 GB, free: 26.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/7.531, allocations: 3.938 kB / 1.245 GB, free: 26.12 MB / 0.4948 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