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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9598/0.9598, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001701/0.001701, allocations: 241.5 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7469/0.7469, allocations: 138.4 MB / 455.4 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") translateModel(BuildingSystems.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.73e-05, allocations: 6.25 kB / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Delays.Examples.Delay): time 0.3281/0.3281, allocations: 180.1 MB / 0.7308 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.005846/0.334, allocations: 4.896 MB / 0.7356 GB, free: 4.066 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.3345, allocations: 43.62 kB / 0.7357 GB, free: 4.023 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0008411/0.3353, allocations: 433.2 kB / 0.7361 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.3375, allocations: 1.5 MB / 0.7375 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.339, allocations: 0.8256 MB / 0.7383 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.3405, allocations: 1.893 MB / 0.7402 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005103/0.341, allocations: 485.2 kB / 0.7407 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.3422, allocations: 1.129 MB / 0.7418 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.3429, allocations: 0.5267 MB / 0.7423 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.343, allocations: 56 kB / 0.7423 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.3443, allocations: 1.184 MB / 0.7435 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3445, allocations: 291.2 kB / 0.7438 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.3447, allocations: 279.3 kB / 0.744 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.3458, allocations: 1.153 MB / 0.7452 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3459, allocations: 0 / 0.7452 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3459, allocations: 7.984 kB / 0.7452 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3459, allocations: 0 / 0.7452 GB, free: 10.27 MB / 0.5573 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.00116/0.347, allocations: 1.144 MB / 0.7463 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3471, allocations: 12.75 kB / 0.7463 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.3479, allocations: 271 kB / 0.7465 GB, free: 8.809 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/0.3486, allocations: 0.5707 MB / 0.7471 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3486, allocations: 37 kB / 0.7471 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.3487, allocations: 48 kB / 0.7472 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.3491, allocations: 469.4 kB / 0.7476 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3492, allocations: 0 / 0.7476 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3492, allocations: 19.98 kB / 0.7477 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.3492, allocations: 20.98 kB / 0.7477 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.3495, allocations: 181.8 kB / 0.7478 GB, free: 7.402 MB / 0.5573 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.001477/0.351, allocations: 1.222 MB / 0.749 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.3513, allocations: 211.9 kB / 0.7492 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3514, allocations: 102 kB / 0.7493 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.3516, allocations: 44.25 kB / 0.7494 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3516, allocations: 41.61 kB / 0.7494 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.3516, allocations: 0 / 0.7494 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.0005506/0.3521, allocations: 318.5 kB / 0.7497 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.3522, allocations: 55.41 kB / 0.7498 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.3525, allocations: 494.7 kB / 0.7502 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.3525, allocations: 33.7 kB / 0.7503 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3527, allocations: 363.2 kB / 0.7506 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.3528, allocations: 126.9 kB / 0.7507 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.788e-05/0.3528, allocations: 75.67 kB / 0.7508 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.353, allocations: 0.5391 MB / 0.7513 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.3531, allocations: 60.97 kB / 0.7514 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.3533, allocations: 296.5 kB / 0.7517 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.3535, allocations: 175.7 kB / 0.7519 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3535, allocations: 0 / 0.7519 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005738/0.354, allocations: 268.9 kB / 0.7521 GB, free: 2.809 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3541, allocations: 4 kB / 0.7521 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3541, allocations: 4 kB / 0.7521 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3541, allocations: 0 / 0.7521 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3542, allocations: 71.91 kB / 0.7522 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3543, allocations: 0 / 0.7522 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3544, allocations: 27.97 kB / 0.7522 GB, free: 2.703 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.3545, allocations: 16 kB / 0.7522 GB, free: 2.688 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001537/0.3546, allocations: 181.5 kB / 0.7524 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.3548, allocations: 300.2 kB / 0.7527 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001898/0.355, allocations: 170.6 kB / 0.7529 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.355, allocations: 0 / 0.7529 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002939/0.3553, allocations: 265.1 kB / 0.7531 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.3553, allocations: 8.094 kB / 0.7531 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.3553, allocations: 3.938 kB / 0.7531 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.3553, allocations: 4 kB / 0.7531 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3554, allocations: 67.91 kB / 0.7532 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.3554, allocations: 5.016 kB / 0.7532 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3556, allocations: 23.88 kB / 0.7532 GB, free: 1.586 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.3556, allocations: 16 kB / 0.7532 GB, free: 1.57 MB / 0.5573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3557, allocations: 288 kB / 0.7535 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/0.3558, allocations: 71.62 kB / 0.7536 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.3561, allocations: 264.5 kB / 0.7538 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3561, allocations: 4 kB / 0.7538 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3561, allocations: 0 / 0.7538 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002296/0.3563, allocations: 280.6 kB / 0.7541 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/0.3572, allocations: 0.8708 MB / 0.7549 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3572, allocations: 4 kB / 0.7549 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.3574, allocations: 88.08 kB / 0.755 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3574, allocations: 3.984 kB / 0.755 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3574, allocations: 12 kB / 0.755 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3574, allocations: 3.938 kB / 0.7551 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3574, allocations: 7.938 kB / 0.7551 GB, free: 15.59 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.3579, allocations: 0.4937 MB / 0.7555 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.358, allocations: 95.56 kB / 0.7556 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.358, allocations: 8.75 kB / 0.7556 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3582, allocations: 23.92 kB / 0.7557 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3583, allocations: 23.91 kB / 0.7557 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3583, allocations: 19.98 kB / 0.7557 GB, free: 14.88 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002042/0.3585, allocations: 318.8 kB / 0.756 GB, free: 14.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.3585, allocations: 0 / 0.756 GB, free: 14.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004959/0.359, allocations: 343.2 kB / 0.7563 GB, free: 14.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002244/0.3592, allocations: 180.7 kB / 0.7565 GB, free: 14.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3596, allocations: 294.2 kB / 0.7568 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3596, allocations: 0 / 0.7568 GB, free: 13.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3597, allocations: 116.5 kB / 0.7569 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.3606, allocations: 331.6 kB / 0.7572 GB, free: 13.35 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.3619, allocations: 1.083 MB / 0.7583 GB, free: 12.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.362, allocations: 166.3 kB / 0.7584 GB, free: 12.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.3623, allocations: 156.6 kB / 0.7586 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.3624, allocations: 48.48 kB / 0.7586 GB, free: 11.82 MB / 0.573 GB Notification: Performance of SimCode: time 7.21e-07/0.3624, allocations: 0 / 0.7586 GB, free: 11.82 MB / 0.573 GB Notification: Performance of Templates: time 0.0129/0.3753, allocations: 11.62 MB / 0.77 GB, free: 0.5508 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.140839373925701]