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.00125/0.00125, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 96.09 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.315e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1445, allocations: 63.26 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.26/1.405, allocations: 352.6 MB / 0.8488 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.405, allocations: 89.03 kB / 0.8488 GB, free: 101 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.127/2.532, allocations: 308.6 MB / 1.15 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/2.532, allocations: 0 / 1.15 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002607/2.532, allocations: 40 kB / 1.15 GB, free: 10.18 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.008001/2.54, allocations: 2.073 MB / 1.152 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/2.54, allocations: 12.03 kB / 1.152 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/2.542, allocations: 205.7 kB / 1.152 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/2.546, allocations: 1.263 MB / 1.154 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/2.546, allocations: 147.2 kB / 1.154 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006546/2.547, allocations: 75.84 kB / 1.154 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003719/2.551, allocations: 1.746 MB / 1.156 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/2.555, allocations: 1.751 MB / 1.157 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/2.555, allocations: 0 / 1.157 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/2.556, allocations: 4 kB / 1.157 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/2.556, allocations: 118.2 kB / 1.157 GB, free: 2.578 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.4858/3.042, allocations: 6.725 MB / 1.164 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/3.043, allocations: 1.262 MB / 1.165 GB, free: 68.51 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/3.044, allocations: 0.7652 MB / 1.166 GB, free: 68.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005488/3.05, allocations: 4.405 MB / 1.17 GB, free: 66.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/3.05, allocations: 46.06 kB / 1.17 GB, free: 66.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000939/3.051, allocations: 178.7 kB / 1.17 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 3.366e-06/3.051, allocations: 0 / 1.17 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01692/3.068, allocations: 5.001 MB / 1.175 GB, free: 65.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/3.068, allocations: 223.2 kB / 1.176 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/3.07, allocations: 0.9018 MB / 1.176 GB, free: 65.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/3.07, allocations: 27.22 kB / 1.176 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/3.07, allocations: 0.6669 MB / 1.177 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000471/3.071, allocations: 446.8 kB / 1.178 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/3.071, allocations: 0 / 1.178 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001254/3.071, allocations: 366.8 kB / 1.178 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/3.072, allocations: 0.7165 MB / 1.179 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/3.074, allocations: 1.037 MB / 1.18 GB, free: 64.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/3.081, allocations: 1.731 MB / 1.181 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-05/3.081, allocations: 2.844 kB / 1.181 GB, free: 64.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01164/3.093, allocations: 3.158 MB / 1.184 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008307/3.094, allocations: 2.979 MB / 1.187 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/3.094, allocations: 11.2 kB / 1.187 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005984/3.1, allocations: 1.132 MB / 1.188 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/3.102, allocations: 337 kB / 1.189 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/3.108, allocations: 2.091 MB / 1.191 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/3.11, allocations: 72.53 kB / 1.191 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005863/3.111, allocations: 81.62 kB / 1.191 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/3.111, allocations: 4.406 kB / 1.191 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009137/3.12, allocations: 2.728 MB / 1.194 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.182e-05/3.12, allocations: 15.31 kB / 1.194 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004871/3.125, allocations: 0.9888 MB / 1.195 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/3.127, allocations: 355.2 kB / 1.195 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/3.13, allocations: 1.686 MB / 1.197 GB, free: 59.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/3.132, allocations: 78.72 kB / 1.197 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/3.133, allocations: 68.16 kB / 1.197 GB, free: 59.65 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.0008299/3.134, allocations: 144.3 kB / 1.197 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006873/3.14, allocations: 2.204 MB / 1.199 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/3.141, allocations: 153.6 kB / 1.199 GB, free: 59.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007058/3.148, allocations: 2.644 MB / 1.202 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/3.148, allocations: 15.72 kB / 1.202 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/3.148, allocations: 0 / 1.202 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/3.148, allocations: 7.406 kB / 1.202 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0096/3.158, allocations: 4.069 MB / 1.206 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/3.158, allocations: 2.25 kB / 1.206 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/3.159, allocations: 230.7 kB / 1.206 GB, free: 58.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002876/3.162, allocations: 0.9237 MB / 1.207 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/3.162, allocations: 23.3 kB / 1.207 GB, free: 58.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/3.166, allocations: 2.107 MB / 1.209 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/3.166, allocations: 0 / 1.209 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007465/3.174, allocations: 3.454 MB / 1.212 GB, free: 58.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/3.175, allocations: 421.6 kB / 1.213 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005877/3.176, allocations: 10.59 kB / 1.213 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/3.177, allocations: 75.53 kB / 1.213 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/3.178, allocations: 115.7 kB / 1.213 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/3.178, allocations: 65.77 kB / 1.213 GB, free: 57.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001309/3.179, allocations: 0.6606 MB / 1.214 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/3.179, allocations: 0 / 1.214 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006003/3.185, allocations: 1.345 MB / 1.215 GB, free: 57.75 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.01309/3.198, allocations: 5.123 MB / 1.22 GB, free: 56.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007352/3.206, allocations: 2.961 MB / 1.223 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/3.206, allocations: 6.781 kB / 1.223 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00214/3.208, allocations: 0.9609 MB / 1.224 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/3.212, allocations: 0.6233 MB / 1.224 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/3.225, allocations: 3.407 MB / 1.228 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/3.226, allocations: 1.419 MB / 1.229 GB, free: 55.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004042/3.23, allocations: 0.6373 MB / 1.23 GB, free: 55.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/3.231, allocations: 0.6142 MB / 1.23 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/3.232, allocations: 0 / 1.23 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/3.368, allocations: 58.58 MB / 1.288 GB, free: 50 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/3.368, allocations: 151.5 kB / 1.288 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/7.905, allocations: 0 / 1.288 GB, free: 49.8 MB / 0.5261 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