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.001471/0.001471, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001479/0.001479, allocations: 187 kB / 17.34 MB, free: 5.715 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 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.8615/0.8615, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 64.58 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 82.03 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002514/0.155, allocations: 1.43 MB / 0.6777 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007415/0.1557, allocations: 430.9 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.1557, allocations: 4 kB / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.1558, allocations: 3.938 kB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.1558, allocations: 11.92 kB / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.156, allocations: 27.91 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1561, allocations: 51.8 kB / 0.6782 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.1562, allocations: 7.984 kB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.1563, allocations: 15.94 kB / 0.6782 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.1563, allocations: 27.84 kB / 0.6782 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1563, allocations: 4 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1564, allocations: 4 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1564, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.1564, allocations: 31.84 kB / 0.6783 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.1565, allocations: 39.83 kB / 0.6783 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1565, allocations: 4 kB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1565, allocations: 0 / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.1566, allocations: 0 / 0.6783 GB, free: 8.285 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.0006251/0.1572, allocations: 393 kB / 0.6787 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1572, allocations: 8.031 kB / 0.6787 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.1572, allocations: 4.938 kB / 0.6787 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1574, allocations: 176.3 kB / 0.6789 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1574, allocations: 8.312 kB / 0.6789 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1574, allocations: 8.375 kB / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1576, allocations: 53.94 kB / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1576, allocations: 0 / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1576, allocations: 0 / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1576, allocations: 0 / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.1576, allocations: 27.97 kB / 0.6789 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.1581, allocations: 264.8 kB / 0.6792 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.9e-05/0.1582, allocations: 46.5 kB / 0.6792 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.1582, allocations: 12.98 kB / 0.6793 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1582, allocations: 7.938 kB / 0.6793 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1584, allocations: 105 kB / 0.6794 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1584, allocations: 0 / 0.6794 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0003046/0.1587, allocations: 135.3 kB / 0.6795 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1588, allocations: 89.11 kB / 0.6796 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.1589, allocations: 117.9 kB / 0.6797 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1589, allocations: 29.7 kB / 0.6797 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.1589, allocations: 80.14 kB / 0.6798 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.159, allocations: 23.83 kB / 0.6798 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.159, allocations: 21.72 kB / 0.6798 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1592, allocations: 326.8 kB / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.1592, allocations: 12 kB / 0.6802 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.1593, allocations: 50.48 kB / 0.6802 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1594, allocations: 110 kB / 0.6803 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1594, allocations: 0 / 0.6803 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001583/0.1595, allocations: 123.7 kB / 0.6804 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.1596, allocations: 33.7 kB / 0.6805 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1596, allocations: 4.047 kB / 0.6805 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1596, allocations: 4 kB / 0.6805 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.441e-05/0.1596, allocations: 11.92 kB / 0.6805 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1596, allocations: 0 / 0.6805 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.1597, allocations: 8.375 kB / 0.6805 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1597, allocations: 0 / 0.6805 GB, free: 5.746 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.0001144/0.1598, allocations: 156.3 kB / 0.6806 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.1598, allocations: 7.953 kB / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.1599, allocations: 12.31 kB / 0.6807 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1599, allocations: 4 kB / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1599, allocations: 0 / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1599, allocations: 0 / 0.6807 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1603, allocations: 400.1 kB / 0.681 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1603, allocations: 0 / 0.681 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.1603, allocations: 3.984 kB / 0.6811 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1603, allocations: 7.938 kB / 0.6811 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1603, allocations: 7.938 kB / 0.6811 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1603, allocations: 0 / 0.6811 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1603, allocations: 0 / 0.6811 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.1606, allocations: 233.1 kB / 0.6813 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1606, allocations: 85.06 kB / 0.6814 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1606, allocations: 4 kB / 0.6814 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.1607, allocations: 11.98 kB / 0.6814 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.1608, allocations: 15.91 kB / 0.6814 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1608, allocations: 3.938 kB / 0.6814 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.495e-05/0.1609, allocations: 91.28 kB / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1609, allocations: 0 / 0.6815 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002291/0.1611, allocations: 16 kB / 0.6815 GB, free: 4.586 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 0.0001212/0.1612, allocations: 107.3 kB / 0.6816 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1614, allocations: 103.3 kB / 0.6817 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1614, allocations: 0 / 0.6817 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.1615, allocations: 83.39 kB / 0.6818 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1618, allocations: 24.05 kB / 0.6818 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.1621, allocations: 182.9 kB / 0.682 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1624, 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.722e-05/0.1625, allocations: 11.44 kB / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1625, allocations: 0 / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.00245/0.1649, allocations: 0.9088 MB / 0.6836 GB, free: 2.406 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)