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.001539/0.001539, allocations: 104.8 kB / 15.99 MB, free: 6.352 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.001789/0.001789, allocations: 194.6 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8032/0.8032, allocations: 126 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.89 kB / 0.4945 GB, free: 3.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3981, allocations: 78.7 MB / 0.5713 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002619/0.4007, allocations: 1.468 MB / 0.5727 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.4015, allocations: 436.4 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.4016, allocations: 0 / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.4016, allocations: 1.719 kB / 0.5732 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.4017, allocations: 10.92 kB / 0.5732 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.4019, allocations: 18.05 kB / 0.5732 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.402, allocations: 53.83 kB / 0.5732 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.4021, allocations: 6.875 kB / 0.5732 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.4022, allocations: 26.81 kB / 0.5733 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.4023, allocations: 18.64 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.4023, allocations: 3.844 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.4023, allocations: 4.312 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.4024, allocations: 8.203 kB / 0.5733 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.4024, allocations: 24.98 kB / 0.5733 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.4025, allocations: 39.67 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4025, allocations: 1.375 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4025, allocations: 0 / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4025, allocations: 0 / 0.5734 GB, free: 29.86 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.0005515/0.4031, allocations: 401 kB / 0.5738 GB, free: 29.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4031, allocations: 9.281 kB / 0.5738 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.4032, allocations: 4.953 kB / 0.5738 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.4033, allocations: 173.5 kB / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4033, allocations: 2.656 kB / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.4033, allocations: 4.031 kB / 0.5739 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4034, allocations: 59.47 kB / 0.574 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4034, allocations: 1.188 kB / 0.574 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4035, allocations: 2.297 kB / 0.574 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4035, allocations: 1.094 kB / 0.574 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.437e-05/0.4035, allocations: 17.16 kB / 0.574 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.4039, allocations: 273.9 kB / 0.5743 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.404, allocations: 45.67 kB / 0.5743 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.404, allocations: 18.89 kB / 0.5743 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.404, allocations: 5.75 kB / 0.5743 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.4042, allocations: 107 kB / 0.5744 GB, free: 28.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.4042, allocations: 0 / 0.5744 GB, free: 28.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002767/0.4045, allocations: 144.8 kB / 0.5746 GB, free: 28.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.4046, allocations: 80.72 kB / 0.5747 GB, free: 28.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.4046, allocations: 112.7 kB / 0.5748 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.4046, allocations: 26.77 kB / 0.5748 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.4047, allocations: 87.25 kB / 0.5749 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.4047, allocations: 17.3 kB / 0.5749 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.4047, allocations: 28.34 kB / 0.5749 GB, free: 28.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.4048, allocations: 323.7 kB / 0.5752 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.4048, allocations: 19.12 kB / 0.5752 GB, free: 28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.4049, allocations: 36.23 kB / 0.5753 GB, free: 27.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.759e-05/0.405, allocations: 117.7 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.405, allocations: 0 / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001413/0.4051, allocations: 123.7 kB / 0.5755 GB, free: 27.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.4052, allocations: 32.61 kB / 0.5755 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4052, allocations: 1.844 kB / 0.5755 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4052, allocations: 3.531 kB / 0.5755 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.4053, allocations: 3.922 kB / 0.5756 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4053, allocations: 1.375 kB / 0.5756 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4053, allocations: 11.11 kB / 0.5756 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4053, allocations: 3 kB / 0.5756 GB, free: 27.74 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 0.0001033/0.4055, allocations: 157.4 kB / 0.5757 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.4055, allocations: 10.08 kB / 0.5757 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.4055, allocations: 10.23 kB / 0.5757 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4055, allocations: 1.094 kB / 0.5757 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4055, allocations: 2.078 kB / 0.5757 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4055, allocations: 0 / 0.5757 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.4059, allocations: 407.2 kB / 0.5761 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4059, allocations: 0 / 0.5761 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.4059, allocations: 6.609 kB / 0.5761 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4059, allocations: 0 / 0.5761 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4059, allocations: 7.516 kB / 0.5761 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4059, allocations: 0 / 0.5761 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4059, allocations: 7.312 kB / 0.5761 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.4061, allocations: 232.2 kB / 0.5764 GB, free: 27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.4062, allocations: 87.69 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.4062, allocations: 8.625 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4063, allocations: 9.484 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.4064, allocations: 10.83 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.4064, allocations: 6.094 kB / 0.5765 GB, free: 26.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.4064, allocations: 89.59 kB / 0.5766 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4064, allocations: 0 / 0.5766 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.4067, allocations: 17.53 kB / 0.5766 GB, free: 26.8 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.934e-05/0.4068, allocations: 101.3 kB / 0.5767 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.4069, allocations: 120.3 kB / 0.5768 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4069, allocations: 2.594 kB / 0.5768 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.407, allocations: 87.81 kB / 0.5769 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4073, allocations: 11.16 kB / 0.5769 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.4076, allocations: 164.2 kB / 0.5771 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.4077, allocations: 0.6848 MB / 0.5777 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.4078, allocations: 5.203 kB / 0.5777 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4078, allocations: 13.44 kB / 0.5777 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4078, allocations: 0 / 0.5777 GB, free: 25.71 MB / 446.1 MB Notification: Performance of Templates: time 0.00311/0.4109, allocations: 0.8211 MB / 0.5785 GB, free: 25.65 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)