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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001182/0.001182, allocations: 100 kB / 15.05 MB, free: 1.105 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.001534/0.001534, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.077/1.077, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 11.98 kB / 0.5158 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1771, allocations: 83.4 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001662/0.1788, allocations: 1.12 MB / 0.5984 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007125/0.1795, allocations: 407.4 kB / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.1796, allocations: 3.938 kB / 0.5987 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1796, allocations: 7.938 kB / 0.5988 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.1797, allocations: 15.97 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.1799, allocations: 11.98 kB / 0.5988 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.18, allocations: 23.97 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.1801, allocations: 11.97 kB / 0.5988 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.1802, allocations: 15.94 kB / 0.5988 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.1803, allocations: 15.92 kB / 0.5988 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1803, allocations: 4 kB / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1803, allocations: 0 / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.1803, allocations: 19.92 kB / 0.5989 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.1804, allocations: 29.7 kB / 0.5989 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.1805, allocations: 31.94 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1805, allocations: 0 / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.404e-06/0.1805, allocations: 0 / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1805, allocations: 3.938 kB / 0.5989 GB, free: 6.121 MB / 0.4981 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.0005912/0.1811, allocations: 389.2 kB / 0.5993 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1811, allocations: 8.031 kB / 0.5993 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1812, allocations: 7.906 kB / 0.5993 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1813, allocations: 178.9 kB / 0.5995 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1814, allocations: 3.984 kB / 0.5995 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1814, allocations: 8 kB / 0.5995 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1815, allocations: 45.69 kB / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1815, allocations: 0 / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1815, allocations: 0 / 0.5995 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1815, allocations: 3.984 kB / 0.5995 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.317e-05/0.1816, allocations: 24 kB / 0.5996 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.182, allocations: 268.8 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.1821, allocations: 38.56 kB / 0.5999 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.1821, allocations: 4.078 kB / 0.5999 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1823, allocations: 113.1 kB / 0.6 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1823, allocations: 0 / 0.6 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003199/0.1827, allocations: 212.7 kB / 0.6002 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1827, allocations: 85.05 kB / 0.6003 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.1828, allocations: 121.8 kB / 0.6004 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1828, allocations: 29.7 kB / 0.6004 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.1829, allocations: 84.14 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1829, allocations: 19.78 kB / 0.6005 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.1829, allocations: 4 kB / 0.6005 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1831, allocations: 314.8 kB / 0.6008 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.468e-05/0.1831, allocations: 27.92 kB / 0.6008 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.1831, allocations: 30.56 kB / 0.6009 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.1832, allocations: 45.7 kB / 0.6009 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1832, allocations: 0 / 0.6009 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001519/0.1834, allocations: 127.3 kB / 0.601 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.1834, allocations: 33.7 kB / 0.6011 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1834, allocations: 0 / 0.6011 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1834, allocations: 4 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.1835, allocations: 7.922 kB / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1835, allocations: 4 kB / 0.6011 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.1836, allocations: 11.89 kB / 0.6011 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1836, allocations: 4 kB / 0.6011 GB, free: 3.621 MB / 0.4981 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1837, allocations: 163.2 kB / 0.6012 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.1837, allocations: 4 kB / 0.6012 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.574e-05/0.1838, allocations: 4.375 kB / 0.6013 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1838, allocations: 4 kB / 0.6013 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1838, allocations: 4.062 kB / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1838, allocations: 0 / 0.6013 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.1842, allocations: 408 kB / 0.6016 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1842, allocations: 0 / 0.6016 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.1842, allocations: 4 kB / 0.6017 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1842, allocations: 0 / 0.6017 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1842, allocations: 8 kB / 0.6017 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1842, allocations: 0 / 0.6017 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1842, allocations: 3.953 kB / 0.6017 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1844, allocations: 229.2 kB / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.1845, allocations: 81.02 kB / 0.602 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1845, allocations: 8 kB / 0.602 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1846, allocations: 15.98 kB / 0.602 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1847, allocations: 11.94 kB / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1847, allocations: 0 / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.923e-05/0.1848, allocations: 91.27 kB / 0.6021 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1848, allocations: 0 / 0.6021 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002292/0.185, allocations: 12 kB / 0.6021 GB, free: 2.473 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.1851, allocations: 109.6 kB / 0.6022 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1853, allocations: 119.4 kB / 0.6023 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1853, allocations: 0 / 0.6023 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.1854, allocations: 87.34 kB / 0.6024 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1856, allocations: 15.98 kB / 0.6024 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.186, allocations: 164.5 kB / 0.6026 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1862, allocations: 0.6927 MB / 0.6032 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.1863, allocations: 4 kB / 0.6032 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.1863, allocations: 11.44 kB / 0.6033 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1863, allocations: 0 / 0.6033 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.002922/0.1892, allocations: 0.736 MB / 0.604 GB, free: 476 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: