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.001874/0.001874, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.91/1.91, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0009388/0.000939, allocations: 89.12 kB / 267 MB, free: 9.266 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.4291/0.4291, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.004e-05/5.006e-05, allocations: 4 kB / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.17, allocations: 351.4 MB / 0.8161 GB, free: 57.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.171, allocations: 82.83 kB / 0.8162 GB, free: 57.44 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.361/2.532, allocations: 305.8 MB / 1.115 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/2.532, allocations: 0 / 1.115 GB, free: 59.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000197/2.532, allocations: 52.17 kB / 1.115 GB, free: 59.87 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.008153/2.54, allocations: 2.062 MB / 1.117 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/2.54, allocations: 15.19 kB / 1.117 GB, free: 58.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005481/2.541, allocations: 175.6 kB / 1.117 GB, free: 58.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/2.542, allocations: 205.1 kB / 1.117 GB, free: 58.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/2.545, allocations: 1.274 MB / 1.118 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/2.545, allocations: 183.1 kB / 1.119 GB, free: 58.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/2.546, allocations: 126.1 kB / 1.119 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/2.549, allocations: 1.913 MB / 1.121 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/2.549, allocations: 3.125 kB / 1.121 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/2.549, allocations: 52.12 kB / 1.121 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001761/2.55, allocations: 116.5 kB / 1.121 GB, free: 58.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/2.554, allocations: 1.889 MB / 1.123 GB, free: 58.12 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.01674/2.57, allocations: 7.003 MB / 1.129 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/2.573, allocations: 1.308 MB / 1.131 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/2.575, allocations: 0.7862 MB / 1.132 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007431/2.582, allocations: 4.505 MB / 1.136 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/2.582, allocations: 51.44 kB / 1.136 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/2.583, allocations: 212.8 kB / 1.136 GB, free: 53.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 5.891e-06/2.583, allocations: 0 / 1.136 GB, free: 53.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.01007/2.593, allocations: 4.377 MB / 1.14 GB, free: 52.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/2.594, allocations: 219.2 kB / 1.141 GB, free: 52.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/2.595, allocations: 1.192 MB / 1.142 GB, free: 52.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001482/2.596, allocations: 54.36 kB / 1.142 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/2.596, allocations: 0.651 MB / 1.143 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/2.596, allocations: 452.7 kB / 1.143 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/2.596, allocations: 35.31 kB / 1.143 GB, free: 51.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001096/2.597, allocations: 368.5 kB / 1.143 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/2.598, allocations: 0.7392 MB / 1.144 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/2.599, allocations: 1.058 MB / 1.145 GB, free: 51.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/2.6, allocations: 0.8608 MB / 1.146 GB, free: 51.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/2.6, allocations: 7.766 kB / 1.146 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003804/2.604, allocations: 2.38 MB / 1.148 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005487/2.604, allocations: 3.025 MB / 1.151 GB, free: 47.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/2.604, allocations: 14.08 kB / 1.151 GB, free: 47.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/2.612, allocations: 1.466 MB / 1.153 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/2.613, allocations: 332.4 kB / 1.153 GB, free: 47.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/2.616, allocations: 1.695 MB / 1.155 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/2.618, allocations: 109.6 kB / 1.155 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/2.618, allocations: 71.91 kB / 1.155 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/2.618, allocations: 3.719 kB / 1.155 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003265/2.621, allocations: 2.076 MB / 1.157 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/2.621, allocations: 10.06 kB / 1.157 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004863/2.626, allocations: 1.027 MB / 1.158 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/2.628, allocations: 350.1 kB / 1.158 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/2.63, allocations: 1.418 MB / 1.16 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/2.632, allocations: 104.2 kB / 1.16 GB, free: 46.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/2.632, allocations: 76.41 kB / 1.16 GB, free: 46.68 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.0005356/2.632, allocations: 188.1 kB / 1.16 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/2.633, allocations: 163.2 kB / 1.16 GB, free: 46.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/2.637, allocations: 2.474 MB / 1.163 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/2.638, allocations: 14 kB / 1.163 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.638, allocations: 0 / 1.163 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/2.638, allocations: 10.5 kB / 1.163 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/2.644, allocations: 4.03 MB / 1.166 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/2.644, allocations: 0 / 1.166 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/2.645, allocations: 229.5 kB / 1.167 GB, free: 45.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/2.65, allocations: 1.232 MB / 1.168 GB, free: 45.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/2.65, allocations: 46.53 kB / 1.168 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/2.652, allocations: 1.742 MB / 1.17 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.652, allocations: 3.5 kB / 1.17 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/2.657, allocations: 3.276 MB / 1.173 GB, free: 43.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/2.658, allocations: 461.9 kB / 1.173 GB, free: 43.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003403/2.659, allocations: 27.19 kB / 1.173 GB, free: 43.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/2.66, allocations: 111.2 kB / 1.173 GB, free: 43.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/2.66, allocations: 112 kB / 1.174 GB, free: 43.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/2.66, allocations: 62.22 kB / 1.174 GB, free: 43.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001372/2.662, allocations: 0.8983 MB / 1.174 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/2.662, allocations: 0 / 1.174 GB, free: 42.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00526/2.667, allocations: 1.442 MB / 1.176 GB, free: 42.41 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.008784/2.676, allocations: 4.945 MB / 1.181 GB, free: 40.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006626/2.683, allocations: 3.094 MB / 1.184 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.683, allocations: 3.75 kB / 1.184 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/2.685, allocations: 0.9909 MB / 1.185 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/2.689, allocations: 0.6954 MB / 1.185 GB, free: 38.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/2.698, allocations: 3.588 MB / 1.189 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/2.698, allocations: 1.413 MB / 1.19 GB, free: 36.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00266/2.701, allocations: 0.7337 MB / 1.191 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007865/2.702, allocations: 0.6177 MB / 1.192 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/2.702, allocations: 0 / 1.192 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/2.813, allocations: 66 MB / 1.256 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/2.814, allocations: 191.3 kB / 1.256 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.593/7.407, allocations: 0 / 1.256 GB, free: 12.01 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