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.001533/0.001533, allocations: 107.8 kB / 16.41 MB, free: 6.355 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.001738/0.001738, allocations: 189.8 kB / 17.34 MB, free: 5.68 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 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.8945/0.8945, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 69.41 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1748, allocations: 82.03 MB / 0.6763 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002864/0.1777, allocations: 1.43 MB / 0.6777 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.1785, allocations: 430.9 kB / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.1786, allocations: 4 kB / 0.6781 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.1786, allocations: 3.938 kB / 0.6781 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.1787, allocations: 15.91 kB / 0.6781 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.1789, allocations: 23.92 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.179, allocations: 51.84 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.1791, allocations: 7.938 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.1792, allocations: 19.92 kB / 0.6782 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.1793, allocations: 23.84 kB / 0.6782 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1793, allocations: 8 kB / 0.6782 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.1793, allocations: 4 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.1794, allocations: 8 kB / 0.6782 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.1794, allocations: 23.86 kB / 0.6783 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1795, allocations: 39.83 kB / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1795, allocations: 0 / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1795, allocations: 0 / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1795, allocations: 0 / 0.6783 GB, free: 8.305 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.0006274/0.1802, allocations: 393.1 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1802, allocations: 8.031 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.1803, allocations: 8.844 kB / 0.6787 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1804, allocations: 176.2 kB / 0.6789 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1804, allocations: 384 / 0.6789 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1804, allocations: 8.312 kB / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1806, allocations: 54 kB / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1806, allocations: 0 / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1806, allocations: 3.984 kB / 0.6789 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1806, allocations: 4 kB / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.1807, allocations: 16 kB / 0.6789 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1811, allocations: 272.8 kB / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.1812, allocations: 42.5 kB / 0.6792 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.1812, allocations: 24.97 kB / 0.6793 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1812, allocations: 3.984 kB / 0.6793 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1814, allocations: 105 kB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1814, allocations: 0 / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002645/0.1817, allocations: 147.3 kB / 0.6795 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1818, allocations: 77.11 kB / 0.6796 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.1819, allocations: 113.8 kB / 0.6797 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1819, allocations: 25.7 kB / 0.6797 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1819, allocations: 88.12 kB / 0.6798 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.182, allocations: 15.75 kB / 0.6798 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.182, allocations: 29.72 kB / 0.6798 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1821, allocations: 326.8 kB / 0.6801 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.1822, allocations: 15.94 kB / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.1822, allocations: 34.56 kB / 0.6802 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1824, allocations: 118 kB / 0.6803 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1824, allocations: 0 / 0.6803 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001694/0.1825, allocations: 127.2 kB / 0.6804 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.1826, allocations: 37.69 kB / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1826, allocations: 0 / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1826, allocations: 0 / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.1827, allocations: 4 kB / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1827, allocations: 384 / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.1828, allocations: 12 kB / 0.6805 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1828, allocations: 64 / 0.6805 GB, free: 5.77 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.0001208/0.1829, allocations: 156.4 kB / 0.6806 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1829, allocations: 15.84 kB / 0.6806 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.183, allocations: 12.38 kB / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.183, allocations: 0 / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.183, allocations: 0 / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.183, allocations: 3.984 kB / 0.6807 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1834, allocations: 400.5 kB / 0.681 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1834, allocations: 0 / 0.681 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.085e-05/0.1835, allocations: 7.938 kB / 0.6811 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1835, allocations: 0 / 0.6811 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1835, allocations: 7.938 kB / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1835, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1835, allocations: 0 / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.1837, allocations: 229.1 kB / 0.6813 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1838, allocations: 85.11 kB / 0.6814 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1838, allocations: 7.922 kB / 0.6814 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.1839, allocations: 8 kB / 0.6814 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1839, allocations: 11.92 kB / 0.6814 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.184, allocations: 8 kB / 0.6814 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.184, allocations: 91.41 kB / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.184, allocations: 0 / 0.6815 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002275/0.1843, allocations: 16 kB / 0.6815 GB, free: 4.609 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.0001061/0.1844, allocations: 96.97 kB / 0.6816 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1845, allocations: 131.3 kB / 0.6817 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1846, allocations: 0 / 0.6817 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1846, allocations: 87.39 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.0002756/0.1849, allocations: 12.05 kB / 0.6818 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1853, allocations: 194.8 kB / 0.682 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1856, allocations: 0.6846 MB / 0.6827 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.1856, allocations: 15.56 kB / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1856, allocations: 0 / 0.6827 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.002226/0.1878, allocations: 0.9072 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)