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.001163/0.001163, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 198.3 kB / 16.79 MB, free: 6.828 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.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 1.112/1.112, allocations: 143 MB / 433.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.09 kB / 0.5141 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1798, allocations: 82.04 MB / 0.5942 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002631/0.1824, allocations: 1.482 MB / 0.5957 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007523/0.1832, allocations: 435 kB / 0.5961 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.1833, allocations: 0 / 0.5961 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.1833, allocations: 4 kB / 0.5961 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.1834, allocations: 7.922 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1836, allocations: 19.98 kB / 0.5961 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.1837, allocations: 51.78 kB / 0.5962 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.1838, allocations: 4 kB / 0.5962 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.1838, allocations: 23.86 kB / 0.5962 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.1839, allocations: 15.92 kB / 0.5962 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1839, allocations: 4 kB / 0.5962 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.1839, allocations: 4 kB / 0.5962 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.184, allocations: 11.98 kB / 0.5963 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.184, allocations: 19.88 kB / 0.5963 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.1841, allocations: 23.94 kB / 0.5963 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1841, allocations: 4 kB / 0.5963 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1841, allocations: 0 / 0.5963 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1841, allocations: 0 / 0.5963 GB, free: 7.953 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.0006328/0.1848, allocations: 391.7 kB / 0.5967 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1848, allocations: 16.03 kB / 0.5967 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1849, allocations: 4.922 kB / 0.5967 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.185, allocations: 180.2 kB / 0.5969 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.185, allocations: 8.375 kB / 0.5969 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.185, allocations: 384 / 0.5969 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1852, allocations: 50 kB / 0.5969 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1852, allocations: 0 / 0.5969 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1852, allocations: 4 kB / 0.5969 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1852, allocations: 7.938 kB / 0.5969 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.1853, allocations: 15.98 kB / 0.5969 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.1857, allocations: 268.8 kB / 0.5972 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.1858, allocations: 46.5 kB / 0.5972 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.1858, allocations: 20.98 kB / 0.5973 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1859, allocations: 0 / 0.5973 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1861, allocations: 109.1 kB / 0.5974 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.1861, allocations: 3.938 kB / 0.5974 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002738/0.1864, allocations: 139.2 kB / 0.5975 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.1864, allocations: 85.11 kB / 0.5976 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.1865, allocations: 105.8 kB / 0.5977 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1865, allocations: 29.7 kB / 0.5977 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.1866, allocations: 84.14 kB / 0.5978 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1866, allocations: 23.78 kB / 0.5978 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1867, allocations: 21.72 kB / 0.5978 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1868, allocations: 326.8 kB / 0.5982 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.1868, allocations: 15.94 kB / 0.5982 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.1869, allocations: 38.56 kB / 0.5982 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.187, allocations: 110 kB / 0.5983 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.187, allocations: 0 / 0.5983 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001553/0.1871, allocations: 135.2 kB / 0.5984 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.1872, allocations: 33.64 kB / 0.5985 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.1872, allocations: 0 / 0.5985 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1872, allocations: 4 kB / 0.5985 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.1873, allocations: 7.984 kB / 0.5985 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1873, allocations: 0 / 0.5985 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.219e-05/0.1873, allocations: 7.938 kB / 0.5985 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1873, allocations: 4 kB / 0.5985 GB, free: 5.414 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 (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.0001083/0.1875, allocations: 155.5 kB / 0.5986 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1875, allocations: 12.28 kB / 0.5987 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.1875, allocations: 4.375 kB / 0.5987 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1875, allocations: 0 / 0.5987 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1875, allocations: 0 / 0.5987 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1875, allocations: 3.938 kB / 0.5987 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.1879, allocations: 400.5 kB / 0.599 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1879, allocations: 3.984 kB / 0.599 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.188, allocations: 7.938 kB / 0.5991 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.188, allocations: 4 kB / 0.5991 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.188, allocations: 4 kB / 0.5991 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.188, allocations: 4 kB / 0.5991 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.188, allocations: 3.938 kB / 0.5991 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.1882, allocations: 225.1 kB / 0.5993 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1882, allocations: 89 kB / 0.5994 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1883, allocations: 0 / 0.5994 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1884, allocations: 23.92 kB / 0.5994 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.1884, allocations: 11.92 kB / 0.5994 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1885, allocations: 0 / 0.5994 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.1885, allocations: 95.41 kB / 0.5995 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1885, allocations: 0 / 0.5995 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002264/0.1888, allocations: 12 kB / 0.5995 GB, free: 4.254 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 (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.0001024/0.1889, allocations: 103.2 kB / 0.5996 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.1891, allocations: 115.4 kB / 0.5997 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1891, allocations: 4.062 kB / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.1892, allocations: 91.39 kB / 0.5998 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1895, allocations: 15.98 kB / 0.5998 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.1898, allocations: 181 kB / 0.6 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1901, allocations: 0.6965 MB / 0.6007 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.1901, allocations: 11.44 kB / 0.6007 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1901, allocations: 0 / 0.6007 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of Templates: time 0.002351/0.1925, allocations: 0.8842 MB / 0.6015 GB, free: 2.074 MB / 0.4981 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)