Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.491/2.491, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 177.3 kB / 325.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.506/2.506, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009855/0.0009849, allocations: 74.39 kB / 0.6812 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007294/0.0007296, allocations: 13.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2689, allocations: 106.3 MB / 0.899 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.083/1.352, allocations: 166.8 MB / 1.062 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0108/1.363, allocations: 4.618 MB / 1.066 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/1.365, allocations: 23.25 kB / 1.066 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/1.366, allocations: 290.5 kB / 1.067 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004551/1.371, allocations: 1.034 MB / 1.068 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/1.374, allocations: 0.6283 MB / 1.068 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00431/1.378, allocations: 2.207 MB / 1.071 GB, free: 4.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/1.38, allocations: 477.6 kB / 1.071 GB, free: 4.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/1.383, allocations: 0.7313 MB / 1.072 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/1.384, allocations: 0.5258 MB / 1.072 GB, free: 4.152 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/1.385, allocations: 25.25 kB / 1.072 GB, free: 4.152 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/1.389, allocations: 0.8782 MB / 1.073 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006269/1.389, allocations: 229.8 kB / 1.073 GB, free: 4.133 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/1.39, allocations: 173.8 kB / 1.073 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/1.393, allocations: 0.9768 MB / 1.074 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.393, allocations: 0.5625 kB / 1.074 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.524e-06/1.393, allocations: 0 / 1.074 GB, free: 20.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.107e-05/1.393, allocations: 0.5938 kB / 1.074 GB, free: 20.02 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002772/1.396, allocations: 0.9803 MB / 1.075 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.396, allocations: 8.906 kB / 1.075 GB, free: 19.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/1.398, allocations: 210.5 kB / 1.076 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/1.4, allocations: 0.5594 MB / 1.076 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/1.4, allocations: 36.19 kB / 1.076 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.4, allocations: 48.31 kB / 1.076 GB, free: 19.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.402, allocations: 0.4961 MB / 1.077 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.402, allocations: 0 / 1.077 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/1.402, allocations: 21.84 kB / 1.077 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.55e-05/1.402, allocations: 19.16 kB / 1.077 GB, free: 19.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.403, allocations: 442.5 kB / 1.077 GB, free: 19.02 MB / 0.7136 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.004787/1.408, allocations: 2.03 MB / 1.079 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009109/1.409, allocations: 346 kB / 1.08 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005523/1.41, allocations: 215.1 kB / 1.08 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/1.41, allocations: 197.2 kB / 1.08 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/1.41, allocations: 35.75 kB / 1.08 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.086e-06/1.41, allocations: 1.5 kB / 1.08 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002103/1.412, allocations: 0.5576 MB / 1.08 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.412, allocations: 54.81 kB / 1.081 GB, free: 17.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/1.413, allocations: 0.5025 MB / 1.081 GB, free: 17.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/1.413, allocations: 36.08 kB / 1.081 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/1.414, allocations: 304.1 kB / 1.081 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/1.414, allocations: 117.6 kB / 1.081 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/1.414, allocations: 4.875 kB / 1.081 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.414, allocations: 369.1 kB / 1.082 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/1.415, allocations: 137.8 kB / 1.082 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/1.415, allocations: 226.9 kB / 1.082 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/1.416, allocations: 161.3 kB / 1.082 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.416, allocations: 1.375 kB / 1.082 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001388/1.417, allocations: 433.4 kB / 1.083 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.417, allocations: 114.5 kB / 1.083 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.417, allocations: 4.469 kB / 1.083 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.417, allocations: 10.16 kB / 1.083 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/1.418, allocations: 69.33 kB / 1.083 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.418, allocations: 3.781 kB / 1.083 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.419, allocations: 70.08 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.316e-05/1.419, allocations: 13.22 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.419, allocations: 3.594 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001043/1.42, allocations: 344.2 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.42, allocations: 1.094 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/1.42, allocations: 2.406 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/1.421, allocations: 75.36 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.421, allocations: 2.75 kB / 1.083 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.422, allocations: 64.03 kB / 1.083 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/1.422, allocations: 12.59 kB / 1.083 GB, free: 16.59 MB / 0.7136 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 () * Number of clocked 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.0005712/1.423, allocations: 295.8 kB / 1.084 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.423, allocations: 64.91 kB / 1.084 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/1.424, allocations: 416.6 kB / 1.084 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.424, allocations: 6.609 kB / 1.084 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.424, allocations: 0 / 1.084 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/1.425, allocations: 442.3 kB / 1.085 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/1.428, allocations: 1.187 MB / 1.086 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.428, allocations: 0 / 1.086 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.429, allocations: 91.11 kB / 1.086 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/1.429, allocations: 12.59 kB / 1.086 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/1.429, allocations: 6.75 kB / 1.086 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/1.429, allocations: 7.062 kB / 1.086 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.429, allocations: 6.906 kB / 1.086 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/1.431, allocations: 0.7282 MB / 1.087 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005334/1.432, allocations: 181.9 kB / 1.087 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.432, allocations: 16.09 kB / 1.087 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009902/1.433, allocations: 60.47 kB / 1.087 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.433, allocations: 20.72 kB / 1.087 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/1.433, allocations: 16.55 kB / 1.087 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000688/1.434, allocations: 360.2 kB / 1.087 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.62e-07/1.434, allocations: 0 / 1.087 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001466/1.435, allocations: 321.8 kB / 1.088 GB, free: 15.28 MB / 0.7136 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 () * Number of clocked 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.0006166/1.436, allocations: 199.4 kB / 1.088 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.437, allocations: 0.5196 MB / 1.088 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.437, allocations: 2.062 kB / 1.088 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/1.438, allocations: 180 kB / 1.088 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.442, allocations: 380.1 kB / 1.089 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/1.445, allocations: 1.551 MB / 1.09 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/1.445, allocations: 0.9304 MB / 1.091 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001277/1.447, allocations: 182.7 kB / 1.091 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/1.447, allocations: 51.03 kB / 1.091 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.493e-06/1.447, allocations: 0 / 1.091 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.03156/1.478, allocations: 11.09 MB / 1.102 GB, free: 12.77 MB / 0.7136 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)