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.0009821/0.0009821, allocations: 98.88 kB / 16.02 MB, free: 76 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.001167/0.001167, allocations: 181.4 kB / 16.92 MB, free: 6.711 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.332 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.023/1.023, allocations: 143.2 MB / 435.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.216, allocations: 83.42 MB / 0.5985 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001954/0.218, allocations: 1.147 MB / 0.5996 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.2189, allocations: 415.1 kB / 0.6 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.2189, allocations: 4 kB / 0.6 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.219, allocations: 7.922 kB / 0.6 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.2191, allocations: 7.938 kB / 0.6 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.2193, allocations: 23.92 kB / 0.6001 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.2194, allocations: 47.8 kB / 0.6001 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2195, allocations: 4 kB / 0.6001 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.2196, allocations: 23.91 kB / 0.6001 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.2196, allocations: 19.86 kB / 0.6001 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2197, allocations: 0 / 0.6001 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2197, allocations: 4 kB / 0.6002 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2197, allocations: 0 / 0.6002 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.2198, allocations: 49.56 kB / 0.6002 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.691e-05/0.2199, allocations: 27.95 kB / 0.6002 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2199, allocations: 0 / 0.6002 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2199, allocations: 0 / 0.6002 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2199, allocations: 0 / 0.6002 GB, free: 5.883 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.0006256/0.2206, allocations: 389.4 kB / 0.6006 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2206, allocations: 12.03 kB / 0.6006 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.2207, allocations: 8.844 kB / 0.6006 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2208, allocations: 172.3 kB / 0.6008 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2208, allocations: 4.375 kB / 0.6008 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2209, allocations: 4.375 kB / 0.6008 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.221, allocations: 53.94 kB / 0.6008 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.221, allocations: 0 / 0.6008 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2211, allocations: 7.984 kB / 0.6008 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2211, allocations: 7.984 kB / 0.6009 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.2211, allocations: 12 kB / 0.6009 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.2216, allocations: 272.8 kB / 0.6011 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.859e-05/0.2217, allocations: 42.56 kB / 0.6012 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.2218, allocations: 20.98 kB / 0.6012 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.2218, allocations: 7.922 kB / 0.6012 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.222, allocations: 101.1 kB / 0.6013 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.222, allocations: 0 / 0.6013 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0003449/0.2224, allocations: 143.3 kB / 0.6014 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.2224, allocations: 89.33 kB / 0.6015 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.2225, allocations: 105.8 kB / 0.6016 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2226, allocations: 29.7 kB / 0.6016 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.2226, allocations: 92.06 kB / 0.6017 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2227, allocations: 15.81 kB / 0.6017 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.2227, allocations: 17.72 kB / 0.6018 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2228, allocations: 326.8 kB / 0.6021 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.084e-05/0.2229, allocations: 12 kB / 0.6021 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.223, allocations: 34.56 kB / 0.6021 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2231, allocations: 117.9 kB / 0.6022 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2231, allocations: 0 / 0.6022 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002125/0.2233, allocations: 131.2 kB / 0.6024 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.2234, allocations: 29.7 kB / 0.6024 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2234, allocations: 0 / 0.6024 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2234, allocations: 4 kB / 0.6024 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.2235, allocations: 3.984 kB / 0.6024 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2235, allocations: 7.938 kB / 0.6024 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.2236, allocations: 11.94 kB / 0.6024 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2236, allocations: 4 kB / 0.6024 GB, free: 3.348 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.0001274/0.2237, allocations: 155.5 kB / 0.6026 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2238, allocations: 7.906 kB / 0.6026 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.2238, allocations: 8.375 kB / 0.6026 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2238, allocations: 4 kB / 0.6026 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2238, allocations: 0 / 0.6026 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2238, allocations: 0 / 0.6026 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.2243, allocations: 404.2 kB / 0.603 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2243, allocations: 4 kB / 0.603 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-06/0.2244, allocations: 4 kB / 0.603 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2244, allocations: 0 / 0.603 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2244, allocations: 4 kB / 0.603 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2244, allocations: 0 / 0.603 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2244, allocations: 0 / 0.603 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2247, allocations: 237 kB / 0.6032 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.2247, allocations: 85.05 kB / 0.6033 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.2248, allocations: 4 kB / 0.6033 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2249, allocations: 15.98 kB / 0.6033 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.225, allocations: 11.92 kB / 0.6033 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.225, allocations: 0 / 0.6033 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.2251, allocations: 91.81 kB / 0.6034 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2251, allocations: 0 / 0.6034 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000308/0.2254, allocations: 16 kB / 0.6034 GB, free: 2.195 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.0001215/0.2255, allocations: 104.9 kB / 0.6035 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2257, allocations: 119.4 kB / 0.6036 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2258, allocations: 0 / 0.6036 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2259, allocations: 87.58 kB / 0.6037 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2262, allocations: 11.98 kB / 0.6037 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.2267, allocations: 198.6 kB / 0.6039 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.227, allocations: 0.6848 MB / 0.6046 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.227, allocations: 7.438 kB / 0.6046 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.227, allocations: 4 kB / 0.6046 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of Templates: time 0.002946/0.23, allocations: 0.8813 MB / 0.6055 GB, free: 20 kB / 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)