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.001199/0.001199, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001336/0.001336, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 56.09 kB / 0.4911 GB, free: 7.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3442, allocations: 77.92 MB / 0.5672 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002532/0.3468, allocations: 1.411 MB / 0.5686 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000644/0.3475, allocations: 433.4 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.3475, allocations: 1.25 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.3476, allocations: 6.609 kB / 0.569 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.3476, allocations: 10.36 kB / 0.569 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.3478, allocations: 17 kB / 0.569 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3479, allocations: 53.78 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.348, allocations: 10.22 kB / 0.5691 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.3481, allocations: 23.75 kB / 0.5691 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.3481, allocations: 19.42 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3482, allocations: 3.562 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3482, allocations: 4.781 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.3482, allocations: 11.55 kB / 0.5691 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.3483, allocations: 20.78 kB / 0.5691 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3484, allocations: 38.64 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3484, allocations: 0.6562 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3484, allocations: 1 kB / 0.5692 GB, free: 31.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3484, allocations: 1.469 kB / 0.5692 GB, free: 31.2 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.0005125/0.3489, allocations: 395.5 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.349, allocations: 11.59 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.349, allocations: 4.312 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.3491, allocations: 172.9 kB / 0.5697 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3491, allocations: 10.56 kB / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3491, allocations: 4.688 kB / 0.5698 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3492, allocations: 50.95 kB / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.3493, allocations: 0 / 0.5698 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3493, allocations: 5.938 kB / 0.5698 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3493, allocations: 5.094 kB / 0.5698 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.541e-05/0.3493, allocations: 17.39 kB / 0.5698 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3497, allocations: 271.6 kB / 0.5701 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.3498, allocations: 47.69 kB / 0.5701 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.3498, allocations: 28.16 kB / 0.5702 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3498, allocations: 5.844 kB / 0.5702 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.35, allocations: 97.58 kB / 0.5703 GB, free: 30.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.35, allocations: 3.938 kB / 0.5703 GB, free: 30.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002509/0.3502, allocations: 145.7 kB / 0.5704 GB, free: 30.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3503, allocations: 85 kB / 0.5705 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.3504, allocations: 107.9 kB / 0.5706 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.3504, allocations: 31.52 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3504, allocations: 83.91 kB / 0.5707 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.3504, allocations: 21.23 kB / 0.5707 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3505, allocations: 24.83 kB / 0.5707 GB, free: 29.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.3505, allocations: 321.9 kB / 0.5711 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.3506, allocations: 15.95 kB / 0.5711 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.3506, allocations: 42.97 kB / 0.5711 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.3507, allocations: 109.9 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3507, allocations: 0.7969 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001343/0.3508, allocations: 126.9 kB / 0.5713 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3509, allocations: 33.02 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3509, allocations: 1.562 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3509, allocations: 1.188 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.259e-05/0.351, allocations: 7.984 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.351, allocations: 2.297 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.351, allocations: 8.891 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.351, allocations: 2.188 kB / 0.5714 GB, free: 29.07 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.216e-05/0.3511, allocations: 154.3 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.3511, allocations: 9.328 kB / 0.5715 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.3512, allocations: 6.609 kB / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3512, allocations: 2.141 kB / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3512, allocations: 0 / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3512, allocations: 2.453 kB / 0.5716 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.3515, allocations: 401.7 kB / 0.5719 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3515, allocations: 1.172 kB / 0.5719 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-06/0.3515, allocations: 1.156 kB / 0.5719 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3515, allocations: 1.094 kB / 0.5719 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3516, allocations: 19.08 kB / 0.572 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3516, allocations: 1.953 kB / 0.572 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3516, allocations: 5.297 kB / 0.572 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.3517, allocations: 233.2 kB / 0.5722 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.3518, allocations: 83.77 kB / 0.5723 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3518, allocations: 4.047 kB / 0.5723 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3519, allocations: 16.09 kB / 0.5723 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.352, allocations: 9.875 kB / 0.5723 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.352, allocations: 8.484 kB / 0.5723 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.098e-05/0.352, allocations: 87.94 kB / 0.5724 GB, free: 28.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.352, allocations: 0.5312 kB / 0.5724 GB, free: 28.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.3523, allocations: 14.91 kB / 0.5724 GB, free: 28.14 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 7.738e-05/0.3524, allocations: 102.2 kB / 0.5725 GB, free: 28.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3525, allocations: 115.1 kB / 0.5726 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3525, allocations: 2.656 kB / 0.5726 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.3526, allocations: 87.66 kB / 0.5727 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3529, allocations: 20.75 kB / 0.5727 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.3532, allocations: 152.7 kB / 0.5729 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3533, allocations: 0.6874 MB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.3534, allocations: 7.75 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3534, allocations: 11.34 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3534, allocations: 1.594 kB / 0.5736 GB, free: 27.05 MB / 446.1 MB Notification: Performance of Templates: time 0.00299/0.3564, allocations: 0.8611 MB / 0.5744 GB, free: 26.98 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)