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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6817/0.6817, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 82.83 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.171e-06/6.211e-06, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5557, allocations: 102.4 MB / 0.7209 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.556, allocations: 75.94 kB / 0.721 GB, free: 9.953 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003165/0.5592, allocations: 0.8733 MB / 0.7218 GB, free: 9.082 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.5592, allocations: 7.938 kB / 0.7218 GB, free: 9.074 MB / 490.7 MB 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.0005184/0.5597, allocations: 380.1 kB / 0.7222 GB, free: 8.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5598, allocations: 12.03 kB / 0.7222 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.5598, allocations: 3.906 kB / 0.7222 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.56, allocations: 171 kB / 0.7224 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.56, allocations: 3.984 kB / 0.7224 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.5601, allocations: 4 kB / 0.7224 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.75e-05/0.5601, allocations: 16 kB / 0.7224 GB, free: 8.406 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.5603, allocations: 45.69 kB / 0.7224 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.5603, allocations: 4.656 kB / 0.7224 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.5603, allocations: 3.984 kB / 0.7224 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5603, allocations: 3.938 kB / 0.7224 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.5607, allocations: 241.4 kB / 0.7227 GB, free: 8.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.5608, allocations: 38.56 kB / 0.7227 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.5608, allocations: 16.98 kB / 0.7227 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.5608, allocations: 10.19 kB / 0.7227 GB, free: 7.996 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.832e-05/0.5609, allocations: 85.11 kB / 0.7228 GB, free: 7.895 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 4.318e-06/0.561, allocations: 0 / 0.7228 GB, free: 7.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001983/0.5612, allocations: 81.59 kB / 0.7229 GB, free: 7.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5612, allocations: 85.09 kB / 0.723 GB, free: 7.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.953e-05/0.5613, allocations: 97 kB / 0.7231 GB, free: 7.605 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.5614, allocations: 25.7 kB / 0.7231 GB, free: 7.574 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.5614, allocations: 92.05 kB / 0.7232 GB, free: 7.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.5614, allocations: 19.8 kB / 0.7232 GB, free: 7.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5614, allocations: 0.75 kB / 0.7232 GB, free: 7.461 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5616, allocations: 314.8 kB / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.5616, allocations: 12 kB / 0.7235 GB, free: 7.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.5617, allocations: 38.5 kB / 0.7235 GB, free: 7.086 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.5617, allocations: 12 kB / 0.7236 GB, free: 7.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5617, allocations: 4 kB / 0.7236 GB, free: 7.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001188/0.5618, allocations: 81.53 kB / 0.7236 GB, free: 6.984 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5618, allocations: 4.094 kB / 0.7236 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5619, allocations: 11.88 kB / 0.7237 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5619, allocations: 0 / 0.7237 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.423e-05/0.5619, allocations: 7.984 kB / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5619, allocations: 0 / 0.7237 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.562, allocations: 12.06 kB / 0.7237 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.562, allocations: 0.7031 kB / 0.7237 GB, free: 6.949 MB / 490.7 MB 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 () * 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.000111/0.5621, allocations: 154.5 kB / 0.7238 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.5622, allocations: 7.906 kB / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.5622, allocations: 4.375 kB / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5622, allocations: 0 / 0.7238 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5622, allocations: 3.938 kB / 0.7238 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5622, allocations: 4 kB / 0.7238 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.5626, allocations: 323 kB / 0.7241 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5626, allocations: 0 / 0.7241 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.5626, allocations: 3.938 kB / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5626, allocations: 0 / 0.7242 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.5626, allocations: 4 kB / 0.7242 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5626, allocations: 0 / 0.7242 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5626, allocations: 0 / 0.7242 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000141/0.5628, allocations: 173.9 kB / 0.7243 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.5628, allocations: 93.02 kB / 0.7244 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.5629, allocations: 64 / 0.7244 GB, free: 6.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.563, allocations: 15.98 kB / 0.7244 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.563, allocations: 11.92 kB / 0.7244 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.5631, allocations: 4 kB / 0.7244 GB, free: 6.078 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.137e-05/0.5631, allocations: 87.81 kB / 0.7245 GB, free: 5.992 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.5633, allocations: 12 kB / 0.7245 GB, free: 5.98 MB / 490.7 MB 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) * 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.0001066/0.5635, allocations: 103.2 kB / 0.7246 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.5636, allocations: 77.62 kB / 0.7247 GB, free: 5.785 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5636, allocations: 3.938 kB / 0.7247 GB, free: 5.781 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.5637, allocations: 61.94 kB / 0.7248 GB, free: 5.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.5639, allocations: 16.03 kB / 0.7248 GB, free: 5.699 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.5642, allocations: 97.02 kB / 0.7249 GB, free: 5.582 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.5645, allocations: 0.7035 MB / 0.7256 GB, free: 4.852 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5645, allocations: 0 / 0.7256 GB, free: 4.852 MB / 490.7 MB Notification: Performance of Templates: time 0.002742/0.5672, allocations: 0.7806 MB / 0.7263 GB, free: 4.082 MB / 490.7 MB 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)