Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 92.2 kB / 16.66 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 179 kB / 17.58 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7387/0.7387, allocations: 115.5 MB / 408.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 12 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4438, allocations: 77.52 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00156/0.4455, allocations: 1.14 MB / 0.5617 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006953/0.4462, allocations: 418.5 kB / 0.5621 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.4462, allocations: 0 / 0.5621 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.4463, allocations: 6.938 kB / 0.5621 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.4463, allocations: 9.797 kB / 0.5621 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.4465, allocations: 21.88 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.4466, allocations: 53.11 kB / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.4467, allocations: 5.422 kB / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.4468, allocations: 17.39 kB / 0.5622 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.4468, allocations: 21.56 kB / 0.5622 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.4469, allocations: 2.188 kB / 0.5622 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.4469, allocations: 2.812 kB / 0.5622 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.4469, allocations: 7.953 kB / 0.5622 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.901e-05/0.447, allocations: 45.92 kB / 0.5623 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.225e-05/0.4471, allocations: 26.88 kB / 0.5623 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4471, allocations: 0 / 0.5623 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4471, allocations: 1.5 kB / 0.5623 GB, free: 35.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.4471, allocations: 0 / 0.5623 GB, free: 35.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005204/0.4476, allocations: 392.1 kB / 0.5627 GB, free: 34.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4477, allocations: 15.12 kB / 0.5627 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.4477, allocations: 7.656 kB / 0.5627 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.4478, allocations: 164.9 kB / 0.5628 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4478, allocations: 8.328 kB / 0.5629 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4479, allocations: 4.25 kB / 0.5629 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.448, allocations: 55.81 kB / 0.5629 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.448, allocations: 0 / 0.5629 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.448, allocations: 6.109 kB / 0.5629 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.448, allocations: 0.5 kB / 0.5629 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.4481, allocations: 21.62 kB / 0.5629 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.4485, allocations: 276.9 kB / 0.5632 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.4486, allocations: 43.34 kB / 0.5632 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.4486, allocations: 23.62 kB / 0.5633 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4486, allocations: 0.75 kB / 0.5633 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.4488, allocations: 99.03 kB / 0.5634 GB, free: 33.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4488, allocations: 0 / 0.5634 GB, free: 33.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002732/0.4491, allocations: 137.2 kB / 0.5635 GB, free: 33.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4492, allocations: 84.88 kB / 0.5636 GB, free: 33.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.4492, allocations: 116.8 kB / 0.5637 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4493, allocations: 30.8 kB / 0.5637 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.4493, allocations: 83.31 kB / 0.5638 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.4493, allocations: 22.03 kB / 0.5638 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.4494, allocations: 19.48 kB / 0.5638 GB, free: 33.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.4494, allocations: 322.7 kB / 0.5641 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.4495, allocations: 20.14 kB / 0.5642 GB, free: 33.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.4495, allocations: 33.34 kB / 0.5642 GB, free: 33.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.809e-05/0.4496, allocations: 117.5 kB / 0.5643 GB, free: 33.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4496, allocations: 0 / 0.5643 GB, free: 33.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001527/0.4498, allocations: 123.4 kB / 0.5644 GB, free: 32.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.4498, allocations: 34.52 kB / 0.5645 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4498, allocations: 0.5625 kB / 0.5645 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4499, allocations: 2.781 kB / 0.5645 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.728e-05/0.4499, allocations: 8.359 kB / 0.5645 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4499, allocations: 5.594 kB / 0.5645 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.45, allocations: 14.42 kB / 0.5645 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.45, allocations: 3.656 kB / 0.5645 GB, free: 32.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 7.772e-05/0.4501, allocations: 150 kB / 0.5646 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.4501, allocations: 12.42 kB / 0.5646 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.4502, allocations: 12.55 kB / 0.5647 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4502, allocations: 1.156 kB / 0.5647 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4502, allocations: 0 / 0.5647 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4502, allocations: 2.266 kB / 0.5647 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.4505, allocations: 403.9 kB / 0.565 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4505, allocations: 1.688 kB / 0.565 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.4506, allocations: 1.156 kB / 0.565 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4506, allocations: 1.938 kB / 0.5651 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4506, allocations: 2.406 kB / 0.5651 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4506, allocations: 2 kB / 0.5651 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4506, allocations: 4 kB / 0.5651 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.4508, allocations: 238.1 kB / 0.5653 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.4508, allocations: 84.58 kB / 0.5654 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4508, allocations: 7.094 kB / 0.5654 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.451, allocations: 11.7 kB / 0.5654 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.451, allocations: 11.09 kB / 0.5654 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.451, allocations: 3.25 kB / 0.5654 GB, free: 32.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.4511, allocations: 88.95 kB / 0.5655 GB, free: 32.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4511, allocations: 3.938 kB / 0.5655 GB, free: 32.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.4513, allocations: 19.73 kB / 0.5655 GB, free: 32.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 8.735e-05/0.4514, allocations: 100.1 kB / 0.5656 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.4516, allocations: 112.2 kB / 0.5657 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4516, allocations: 3.938 kB / 0.5657 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.4517, allocations: 89.53 kB / 0.5658 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.452, allocations: 16.3 kB / 0.5658 GB, free: 31.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.4523, allocations: 191.6 kB / 0.566 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.4525, allocations: 0.6879 MB / 0.5667 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.4525, allocations: 10.12 kB / 0.5667 GB, free: 30.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4525, allocations: 0 / 0.5667 GB, free: 30.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002587/0.4551, allocations: 0.888 MB / 0.5675 GB, free: 30.84 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)