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.001311/0.001311, allocations: 173.3 kB / 17.05 MB, free: 5.102 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.379/1.379, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000976/0.0009759, allocations: 93.48 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3734/0.3734, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3794, allocations: 61.9 MB / 0.5096 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7053/1.085, allocations: 352.3 MB / 0.8536 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.085, allocations: 94.47 kB / 0.8537 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.432/2.517, allocations: 312.3 MB / 1.159 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.716e-06/2.517, allocations: 0 / 1.159 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002897/2.517, allocations: 49.09 kB / 1.159 GB, free: 82.39 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.009796/2.527, allocations: 2.297 MB / 1.161 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/2.527, allocations: 15.45 kB / 1.161 GB, free: 81.22 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/2.528, allocations: 178.1 kB / 1.161 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/2.53, allocations: 208.8 kB / 1.161 GB, free: 81.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00415/2.534, allocations: 1.285 MB / 1.163 GB, free: 80.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/2.534, allocations: 190.5 kB / 1.163 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006097/2.535, allocations: 104.5 kB / 1.163 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/2.539, allocations: 1.962 MB / 1.165 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/2.539, allocations: 5 kB / 1.165 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003068/2.54, allocations: 51.62 kB / 1.165 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/2.54, allocations: 114.8 kB / 1.165 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003629/2.544, allocations: 1.95 MB / 1.167 GB, free: 80.35 MB / 0.5261 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.0139/2.557, allocations: 7 MB / 1.174 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/2.56, allocations: 1.353 MB / 1.175 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006547/2.566, allocations: 4.43 MB / 1.179 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/2.566, allocations: 50.53 kB / 1.179 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001351/2.568, allocations: 221.9 kB / 1.18 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 8.977e-06/2.568, allocations: 0 / 1.18 GB, free: 75.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.02231/2.59, allocations: 6.395 MB / 1.186 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.59, allocations: 221.4 kB / 1.186 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002943/2.593, allocations: 1.202 MB / 1.187 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/2.593, allocations: 54.05 kB / 1.187 GB, free: 74.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007328/2.594, allocations: 0.6489 MB / 1.188 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/2.595, allocations: 464.1 kB / 1.188 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/2.595, allocations: 34.88 kB / 1.188 GB, free: 73.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001499/2.595, allocations: 369.2 kB / 1.189 GB, free: 73.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/2.597, allocations: 0.7638 MB / 1.19 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/2.598, allocations: 1.089 MB / 1.191 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/2.6, allocations: 0.8864 MB / 1.191 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/2.6, allocations: 3.531 kB / 1.191 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005009/2.605, allocations: 2.442 MB / 1.194 GB, free: 73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009961/2.606, allocations: 3.02 MB / 1.197 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.897e-05/2.606, allocations: 7.906 kB / 1.197 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008051/2.614, allocations: 1.492 MB / 1.198 GB, free: 69.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/2.616, allocations: 327.9 kB / 1.199 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/2.619, allocations: 1.698 MB / 1.2 GB, free: 68.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/2.621, allocations: 104 kB / 1.2 GB, free: 68.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004379/2.621, allocations: 81.91 kB / 1.2 GB, free: 68.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/2.621, allocations: 3.125 kB / 1.2 GB, free: 68.67 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004319/2.626, allocations: 2.136 MB / 1.203 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/2.626, allocations: 10.69 kB / 1.203 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005575/2.631, allocations: 1.032 MB / 1.204 GB, free: 67.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/2.633, allocations: 342.6 kB / 1.204 GB, free: 67.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/2.635, allocations: 1.422 MB / 1.205 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/2.638, allocations: 103 kB / 1.205 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004299/2.638, allocations: 79.48 kB / 1.205 GB, free: 66.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 () * 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.001689/2.64, allocations: 482.2 kB / 1.206 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/2.641, allocations: 171.6 kB / 1.206 GB, free: 66.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/2.646, allocations: 2.524 MB / 1.209 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/2.646, allocations: 18.66 kB / 1.209 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/2.646, allocations: 3.375 kB / 1.209 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/2.646, allocations: 11.48 kB / 1.209 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/2.654, allocations: 4.082 MB / 1.213 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/2.654, allocations: 7 kB / 1.213 GB, free: 63.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/2.655, allocations: 229.4 kB / 1.213 GB, free: 63.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/2.659, allocations: 1.242 MB / 1.214 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/2.66, allocations: 49.75 kB / 1.214 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/2.662, allocations: 1.76 MB / 1.216 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.662, allocations: 0 / 1.216 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/2.669, allocations: 3.357 MB / 1.219 GB, free: 61.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/2.67, allocations: 459.3 kB / 1.219 GB, free: 60.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006968/2.671, allocations: 31.28 kB / 1.219 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/2.673, allocations: 104 kB / 1.22 GB, free: 60.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/2.673, allocations: 113.9 kB / 1.22 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/2.674, allocations: 56.78 kB / 1.22 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001926/2.675, allocations: 0.9183 MB / 1.221 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.7e-07/2.676, allocations: 0 / 1.221 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006902/2.682, allocations: 1.436 MB / 1.222 GB, free: 60.18 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 () * 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.01053/2.693, allocations: 5.047 MB / 1.227 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007204/2.7, allocations: 3.144 MB / 1.23 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/2.7, allocations: 0 / 1.23 GB, free: 56.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002118/2.702, allocations: 1.023 MB / 1.231 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003838/2.706, allocations: 0.6916 MB / 1.232 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/2.721, allocations: 10.57 MB / 1.242 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/2.722, allocations: 1.413 MB / 1.243 GB, free: 45.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003025/2.725, allocations: 0.6124 MB / 1.244 GB, free: 45.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/2.726, allocations: 0.6407 MB / 1.245 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/2.726, allocations: 0 / 1.245 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4911/3.217, allocations: 63 MB / 1.306 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/3.218, allocations: 230 kB / 1.306 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.677/7.894, allocations: 0.9844 kB / 1.306 GB, free: 75.16 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