Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001385/0.001384, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001437/0.001437, allocations: 191 kB / 17.34 MB, free: 5.762 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8693/0.8693, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 64.09 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1537, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002445/0.1562, allocations: 1.427 MB / 0.6777 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00074/0.157, allocations: 438.9 kB / 0.6781 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.1571, allocations: 0 / 0.6781 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.1571, allocations: 3.938 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.1572, allocations: 11.92 kB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1573, allocations: 19.92 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1575, allocations: 47.86 kB / 0.6782 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.1576, allocations: 23.91 kB / 0.6782 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.1576, allocations: 15.94 kB / 0.6782 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.931e-05/0.1577, allocations: 23.84 kB / 0.6782 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1578, allocations: 4 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.1578, allocations: 4 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.1578, allocations: 4 kB / 0.6782 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.1579, allocations: 23.86 kB / 0.6782 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.158, allocations: 43.81 kB / 0.6783 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.158, allocations: 4 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.158, allocations: 0 / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.158, allocations: 0 / 0.6783 GB, free: 8.297 MB / 0.5137 GB 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.0005866/0.1586, allocations: 385.2 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1586, allocations: 8.031 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.1587, allocations: 8.844 kB / 0.6787 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1588, allocations: 184.2 kB / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1588, allocations: 384 / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1588, allocations: 4.375 kB / 0.6789 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.159, allocations: 58 kB / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.159, allocations: 0 / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.159, allocations: 0 / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.159, allocations: 0 / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.1591, allocations: 19.98 kB / 0.6789 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1594, allocations: 276.7 kB / 0.6792 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.945e-05/0.1595, allocations: 42.5 kB / 0.6792 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.1596, allocations: 16.98 kB / 0.6793 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1596, allocations: 8 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1598, allocations: 105 kB / 0.6794 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1598, allocations: 0 / 0.6794 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002657/0.1601, allocations: 143.2 kB / 0.6795 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1601, allocations: 81.11 kB / 0.6796 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.1602, allocations: 105.8 kB / 0.6797 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1602, allocations: 33.7 kB / 0.6797 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1603, allocations: 84.14 kB / 0.6798 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1603, allocations: 27.8 kB / 0.6798 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.1604, allocations: 25.72 kB / 0.6798 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1605, allocations: 322.8 kB / 0.6801 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.1605, allocations: 19.94 kB / 0.6802 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.1606, allocations: 34.56 kB / 0.6802 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1607, allocations: 110 kB / 0.6803 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1607, allocations: 4 kB / 0.6803 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001657/0.1609, allocations: 127.2 kB / 0.6804 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.1609, allocations: 33.7 kB / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1609, allocations: 0 / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1609, allocations: 0 / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.161, allocations: 7.984 kB / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.161, allocations: 64 / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.1611, allocations: 8 kB / 0.6805 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1611, allocations: 8 kB / 0.6805 GB, free: 5.762 MB / 0.5137 GB 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.0001076/0.1612, allocations: 152.3 kB / 0.6806 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1612, allocations: 11.89 kB / 0.6806 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.1612, allocations: 4.375 kB / 0.6806 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1613, allocations: 4 kB / 0.6806 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1613, allocations: 0 / 0.6806 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1613, allocations: 0 / 0.6806 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1617, allocations: 408.6 kB / 0.681 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1617, allocations: 3.984 kB / 0.681 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1617, allocations: 11.88 kB / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1617, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1617, allocations: 7.938 kB / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1617, allocations: 0 / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1617, allocations: 0 / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.162, allocations: 233.1 kB / 0.6813 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.162, allocations: 77.11 kB / 0.6814 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.162, allocations: 11.94 kB / 0.6814 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1622, allocations: 7.984 kB / 0.6814 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1622, allocations: 11.92 kB / 0.6814 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1622, allocations: 4 kB / 0.6814 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.1623, allocations: 83.28 kB / 0.6815 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1623, allocations: 4 kB / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002386/0.1625, allocations: 19.98 kB / 0.6815 GB, free: 4.605 MB / 0.5137 GB 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.987e-05/0.1626, allocations: 102.1 kB / 0.6816 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1628, allocations: 116.1 kB / 0.6817 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1628, allocations: 4 kB / 0.6817 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.1629, allocations: 91.38 kB / 0.6818 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1632, allocations: 22.61 kB / 0.6818 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.1636, allocations: 191.1 kB / 0.682 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.1638, allocations: 0.6846 MB / 0.6827 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.1639, allocations: 11.44 kB / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1639, allocations: 0 / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.002274/0.1662, allocations: 0.9129 MB / 0.6836 GB, free: 2.398 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)