Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.00104, allocations: 95.55 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4259/0.4259, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4185, allocations: 63.24 MB / 0.5193 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.73/1.149, allocations: 353.3 MB / 0.8643 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.149, allocations: 92.88 kB / 0.8644 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.541/2.69, allocations: 311.5 MB / 1.169 GB, free: 89.14 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.048e-06/2.69, allocations: 2.844 kB / 1.169 GB, free: 89.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003767/2.69, allocations: 40.75 kB / 1.169 GB, free: 89.14 MB / 0.5417 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.01106/2.701, allocations: 2.298 MB / 1.171 GB, free: 88.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/2.701, allocations: 11.16 kB / 1.171 GB, free: 88.07 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001295/2.703, allocations: 180.3 kB / 1.171 GB, free: 88.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/2.704, allocations: 205.4 kB / 1.171 GB, free: 87.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005108/2.709, allocations: 1.289 MB / 1.172 GB, free: 87.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/2.71, allocations: 187.3 kB / 1.173 GB, free: 87.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008122/2.711, allocations: 113.9 kB / 1.173 GB, free: 87.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/2.717, allocations: 1.956 MB / 1.175 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/2.717, allocations: 0 / 1.175 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005237/2.717, allocations: 52.27 kB / 1.175 GB, free: 87.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002252/2.717, allocations: 112.2 kB / 1.175 GB, free: 87.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/2.722, allocations: 1.953 MB / 1.177 GB, free: 87.21 MB / 0.5417 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.01579/2.738, allocations: 7.007 MB / 1.184 GB, free: 84.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/2.74, allocations: 1.361 MB / 1.185 GB, free: 84.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008136/2.748, allocations: 4.427 MB / 1.189 GB, free: 82.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/2.749, allocations: 56.47 kB / 1.189 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/2.75, allocations: 214.5 kB / 1.19 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=117): time 1.884e-05/2.75, allocations: 3.406 kB / 1.19 GB, free: 82.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=132): time 0.02331/2.773, allocations: 6.395 MB / 1.196 GB, free: 81.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/2.774, allocations: 224.1 kB / 1.196 GB, free: 81.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/2.777, allocations: 1.201 MB / 1.197 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005833/2.778, allocations: 52.3 kB / 1.197 GB, free: 81.26 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/2.779, allocations: 0.6558 MB / 1.198 GB, free: 81.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009208/2.78, allocations: 462 kB / 1.198 GB, free: 80.72 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/2.78, allocations: 30.66 kB / 1.198 GB, free: 80.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002911/2.781, allocations: 370.5 kB / 1.199 GB, free: 80.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/2.783, allocations: 0.7579 MB / 1.199 GB, free: 80.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/2.785, allocations: 1.093 MB / 1.2 GB, free: 80.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/2.787, allocations: 0.888 MB / 1.201 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/2.787, allocations: 0 / 1.201 GB, free: 80.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005269/2.792, allocations: 2.439 MB / 1.204 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008584/2.793, allocations: 3.016 MB / 1.207 GB, free: 76.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/2.793, allocations: 10.97 kB / 1.207 GB, free: 76.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008342/2.801, allocations: 1.488 MB / 1.208 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/2.803, allocations: 329.1 kB / 1.208 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/2.807, allocations: 1.7 MB / 1.21 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/2.809, allocations: 108 kB / 1.21 GB, free: 76.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005784/2.81, allocations: 77.67 kB / 1.21 GB, free: 76.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/2.81, allocations: 3.969 kB / 1.21 GB, free: 76.26 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006004/2.816, allocations: 2.141 MB / 1.212 GB, free: 76.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-05/2.816, allocations: 7.188 kB / 1.212 GB, free: 76.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005836/2.822, allocations: 1.032 MB / 1.213 GB, free: 76.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/2.824, allocations: 343.3 kB / 1.214 GB, free: 76.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/2.826, allocations: 1.423 MB / 1.215 GB, free: 75.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/2.829, allocations: 98.7 kB / 1.215 GB, free: 75.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/2.829, allocations: 74.72 kB / 1.215 GB, free: 75.66 MB / 0.5417 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.001755/2.831, allocations: 495.2 kB / 1.216 GB, free: 75.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007723/2.832, allocations: 166.4 kB / 1.216 GB, free: 75.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/2.838, allocations: 2.526 MB / 1.218 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/2.838, allocations: 15.38 kB / 1.218 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/2.838, allocations: 0 / 1.218 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/2.838, allocations: 7.688 kB / 1.218 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008719/2.847, allocations: 4.084 MB / 1.222 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/2.847, allocations: 1.969 kB / 1.222 GB, free: 73.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/2.848, allocations: 234.7 kB / 1.223 GB, free: 73.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/2.853, allocations: 1.241 MB / 1.224 GB, free: 73.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003671/2.854, allocations: 42.44 kB / 1.224 GB, free: 73.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/2.857, allocations: 1.754 MB / 1.226 GB, free: 72.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.857, allocations: 0 / 1.226 GB, free: 72.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00655/2.864, allocations: 3.365 MB / 1.229 GB, free: 71.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/2.865, allocations: 456 kB / 1.229 GB, free: 70.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006733/2.866, allocations: 34.56 kB / 1.229 GB, free: 70.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/2.868, allocations: 109.2 kB / 1.229 GB, free: 70.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/2.868, allocations: 112.5 kB / 1.23 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/2.868, allocations: 60.22 kB / 1.23 GB, free: 70.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002034/2.87, allocations: 0.9126 MB / 1.23 GB, free: 70.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.87, allocations: 0 / 1.23 GB, free: 70.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007023/2.877, allocations: 1.447 MB / 1.232 GB, free: 70.04 MB / 0.5417 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.01144/2.889, allocations: 5.05 MB / 1.237 GB, free: 67.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008088/2.897, allocations: 3.127 MB / 1.24 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/2.897, allocations: 5.156 kB / 1.24 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/2.899, allocations: 1.036 MB / 1.241 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/2.903, allocations: 0.7053 MB / 1.242 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/2.917, allocations: 10.56 MB / 1.252 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/2.919, allocations: 1.416 MB / 1.253 GB, free: 57.53 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002883/2.922, allocations: 0.6198 MB / 1.254 GB, free: 57.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/2.923, allocations: 0.6349 MB / 1.254 GB, free: 57.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.904e-06/2.923, allocations: 3 kB / 1.254 GB, free: 57.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/3.032, allocations: 62.98 MB / 1.316 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/3.032, allocations: 218 kB / 1.316 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.017/8.05, allocations: 0 / 1.316 GB, free: 8.273 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat