Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8977/0.8977, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.7 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 274.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.822e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4905, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.956/5.446, allocations: 1.882 GB / 2.64 GB, free: 176.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/5.446, allocations: 91.83 kB / 2.64 GB, free: 176.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.906/7.353, allocations: 483.1 MB / 3.112 GB, free: 155.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/7.353, allocations: 0 / 3.112 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001131/7.353, allocations: 22.17 kB / 3.112 GB, free: 155.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002666/7.356, allocations: 0.9696 MB / 3.113 GB, free: 155.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/7.356, allocations: 7.781 kB / 3.113 GB, free: 155.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/7.357, allocations: 206.7 kB / 3.113 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/7.359, allocations: 0.6175 MB / 3.113 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/7.359, allocations: 17.78 kB / 3.113 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/7.359, allocations: 31.22 kB / 3.113 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000752/7.36, allocations: 362.7 kB / 3.114 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/7.361, allocations: 395.9 kB / 3.114 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/7.361, allocations: 0 / 3.114 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/7.361, allocations: 3.156 kB / 3.114 GB, free: 155.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/7.361, allocations: 18.23 kB / 3.114 GB, free: 155.1 MB / 0.698 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.002707/7.363, allocations: 1.903 MB / 3.116 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/7.364, allocations: 301.2 kB / 3.116 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/7.364, allocations: 179.8 kB / 3.116 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/7.364, allocations: 193.4 kB / 3.117 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/7.364, allocations: 45.08 kB / 3.117 GB, free: 153.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/7.364, allocations: 0 / 3.117 GB, free: 153.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008969/7.365, allocations: 364.5 kB / 3.117 GB, free: 153.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/7.365, allocations: 55.38 kB / 3.117 GB, free: 153.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/7.366, allocations: 375.7 kB / 3.117 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/7.366, allocations: 25.7 kB / 3.118 GB, free: 153.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/7.366, allocations: 309.3 kB / 3.118 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/7.366, allocations: 115.3 kB / 3.118 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/7.366, allocations: 0 / 3.118 GB, free: 153.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/7.366, allocations: 360.4 kB / 3.118 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/7.366, allocations: 116.3 kB / 3.118 GB, free: 153.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/7.367, allocations: 193.6 kB / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/7.367, allocations: 154.1 kB / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/7.367, allocations: 0 / 3.119 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005193/7.367, allocations: 360.4 kB / 3.119 GB, free: 153 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/7.368, allocations: 362.3 kB / 3.119 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/7.368, allocations: 2.844 kB / 3.119 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.225e-05/7.368, allocations: 7.281 kB / 3.119 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/7.368, allocations: 71.61 kB / 3.119 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/7.368, allocations: 6.219 kB / 3.119 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/7.369, allocations: 53.31 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/7.369, allocations: 18.05 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-06/7.369, allocations: 3.25 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003957/7.369, allocations: 280.8 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/7.369, allocations: 0 / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/7.369, allocations: 2.625 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/7.369, allocations: 77.86 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/7.369, allocations: 3.25 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/7.37, allocations: 50.78 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/7.37, allocations: 16.56 kB / 3.12 GB, free: 152.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/7.37, allocations: 108.8 kB / 3.12 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/7.37, allocations: 57.92 kB / 3.12 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/7.371, allocations: 355 kB / 3.12 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/7.371, allocations: 7.375 kB / 3.12 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/7.371, allocations: 4 kB / 3.12 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003742/7.371, allocations: 390.8 kB / 3.121 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/7.373, allocations: 1.039 MB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/7.373, allocations: 0 / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/7.373, allocations: 90.94 kB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/7.373, allocations: 3.969 kB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/7.373, allocations: 6.984 kB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/7.373, allocations: 7.781 kB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/7.373, allocations: 3.938 kB / 3.122 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/7.374, allocations: 0.7167 MB / 3.123 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/7.374, allocations: 170.9 kB / 3.123 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/7.375, allocations: 6.688 kB / 3.123 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/7.375, allocations: 43.45 kB / 3.123 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/7.375, allocations: 24.66 kB / 3.123 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/7.375, allocations: 17.81 kB / 3.123 GB, free: 151.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003164/7.376, allocations: 291.5 kB / 3.123 GB, free: 151.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/7.376, allocations: 0 / 3.123 GB, free: 151.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001308/7.377, allocations: 409.2 kB / 3.124 GB, free: 151.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/7.379, allocations: 1.428 MB / 3.125 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007772/7.38, allocations: 466.5 kB / 3.125 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/7.38, allocations: 0 / 3.125 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/7.38, allocations: 164.5 kB / 3.126 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/7.382, allocations: 328.7 kB / 3.126 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/7.384, allocations: 0.9462 MB / 3.127 GB, free: 150.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/7.384, allocations: 0.9406 MB / 3.128 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008727/7.385, allocations: 222.2 kB / 3.128 GB, free: 150 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/7.385, allocations: 37.16 kB / 3.128 GB, free: 150 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/7.385, allocations: 3.172 kB / 3.128 GB, free: 150 MB / 0.698 GB Notification: Performance of Templates: time 0.02971/7.415, allocations: 17.86 MB / 3.145 GB, free: 149.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.sim & ./BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1)