Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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.TestDelayedValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",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.001353/0.001353, allocations: 180.8 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.563/1.563, allocations: 221.3 MB / 236 MB, free: 2.965 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.0009421/0.000942, allocations: 96.03 kB / 287 MB, free: 252 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.2554/0.2554, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.95e-05/5.998e-05, allocations: 8.156 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.303, allocations: 352.2 MB / 0.8457 GB, free: 55.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.303, allocations: 83.7 kB / 0.8458 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.508/2.811, allocations: 311.3 MB / 1.15 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.595e-06/2.811, allocations: 0 / 1.15 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000255/2.812, allocations: 45.81 kB / 1.15 GB, free: 77.84 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01013/2.822, allocations: 2.074 MB / 1.152 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/2.822, allocations: 10.03 kB / 1.152 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004934/2.822, allocations: 179.9 kB / 1.152 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/2.823, allocations: 203.1 kB / 1.152 GB, free: 76.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/2.827, allocations: 1.268 MB / 1.154 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/2.827, allocations: 194 kB / 1.154 GB, free: 76.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/2.827, allocations: 116.6 kB / 1.154 GB, free: 76.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/2.831, allocations: 1.911 MB / 1.156 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/2.831, allocations: 0.875 kB / 1.156 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/2.831, allocations: 58.22 kB / 1.156 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/2.832, allocations: 115.1 kB / 1.156 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/2.835, allocations: 1.89 MB / 1.158 GB, free: 76.23 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.01245/2.848, allocations: 6.992 MB / 1.165 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/2.849, allocations: 1.314 MB / 1.166 GB, free: 74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/2.85, allocations: 0.7795 MB / 1.167 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006039/2.857, allocations: 4.493 MB / 1.171 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/2.857, allocations: 48.69 kB / 1.171 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001067/2.858, allocations: 227.7 kB / 1.171 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 4.018e-06/2.858, allocations: 0 / 1.171 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.00888/2.867, allocations: 4.365 MB / 1.175 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/2.867, allocations: 225.5 kB / 1.176 GB, free: 70.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/2.868, allocations: 1.19 MB / 1.177 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/2.868, allocations: 49.7 kB / 1.177 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/2.869, allocations: 0.6534 MB / 1.178 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/2.869, allocations: 463.5 kB / 1.178 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/2.869, allocations: 28 kB / 1.178 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001204/2.869, allocations: 365.9 kB / 1.178 GB, free: 69.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/2.871, allocations: 0.7415 MB / 1.179 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/2.872, allocations: 1.059 MB / 1.18 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/2.873, allocations: 0.8622 MB / 1.181 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.873, allocations: 6.984 kB / 1.181 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003906/2.877, allocations: 2.384 MB / 1.183 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007206/2.878, allocations: 3.018 MB / 1.186 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/2.878, allocations: 7.781 kB / 1.186 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/2.885, allocations: 1.476 MB / 1.188 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/2.886, allocations: 332 kB / 1.188 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/2.889, allocations: 1.692 MB / 1.19 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/2.891, allocations: 107.5 kB / 1.19 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/2.892, allocations: 73.22 kB / 1.19 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/2.892, allocations: 3.938 kB / 1.19 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004222/2.896, allocations: 2.075 MB / 1.192 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.232e-05/2.896, allocations: 7.719 kB / 1.192 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005045/2.901, allocations: 1.028 MB / 1.193 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/2.903, allocations: 347 kB / 1.193 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/2.905, allocations: 1.427 MB / 1.195 GB, free: 64.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/2.907, allocations: 105.8 kB / 1.195 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/2.908, allocations: 71.89 kB / 1.195 GB, free: 64.89 MB / 0.5261 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.0007731/2.908, allocations: 197.5 kB / 1.195 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007833/2.909, allocations: 166 kB / 1.195 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005813/2.915, allocations: 2.467 MB / 1.198 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/2.915, allocations: 21.97 kB / 1.198 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/2.915, allocations: 0 / 1.198 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/2.915, allocations: 7.828 kB / 1.198 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008106/2.923, allocations: 4.02 MB / 1.201 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/2.923, allocations: 0 / 1.201 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/2.924, allocations: 234.5 kB / 1.202 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004695/2.929, allocations: 1.224 MB / 1.203 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/2.929, allocations: 41.88 kB / 1.203 GB, free: 64.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/2.932, allocations: 1.757 MB / 1.205 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.932, allocations: 7.406 kB / 1.205 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/2.938, allocations: 3.272 MB / 1.208 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/2.939, allocations: 459 kB / 1.208 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/2.94, allocations: 34.44 kB / 1.208 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/2.942, allocations: 106.2 kB / 1.208 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/2.942, allocations: 115 kB / 1.209 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/2.942, allocations: 62.42 kB / 1.209 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001967/2.944, allocations: 0.9007 MB / 1.209 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/2.944, allocations: 3.281 kB / 1.209 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006781/2.951, allocations: 1.433 MB / 1.211 GB, free: 62.79 MB / 0.5261 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.01153/2.963, allocations: 4.948 MB / 1.216 GB, free: 61.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007393/2.97, allocations: 3.091 MB / 1.219 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/2.97, allocations: 3.312 kB / 1.219 GB, free: 61.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/2.972, allocations: 0.9909 MB / 1.22 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/2.977, allocations: 0.6897 MB / 1.22 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/2.988, allocations: 3.588 MB / 1.224 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/2.989, allocations: 1.418 MB / 1.225 GB, free: 59.99 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003697/2.993, allocations: 0.7351 MB / 1.226 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/2.994, allocations: 0.6153 MB / 1.227 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.904e-06/2.994, allocations: 0 / 1.227 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/3.123, allocations: 66 MB / 1.291 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/3.124, allocations: 195.1 kB / 1.291 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.715/7.839, allocations: 0 / 1.291 GB, free: 33.67 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat