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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.001248/0.001248, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001181/0.001181, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9183/0.9183, allocations: 143.3 MB / 434 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 60.14 kB / 0.5146 GB, free: 15.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3655, allocations: 82.03 MB / 0.5947 GB, free: 16.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002521/0.3681, allocations: 1.474 MB / 0.5961 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.3688, allocations: 436.7 kB / 0.5965 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.3689, allocations: 0.5 kB / 0.5965 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.3689, allocations: 0 / 0.5965 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.369, allocations: 5.094 kB / 0.5965 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.3692, allocations: 23.92 kB / 0.5966 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3693, allocations: 53 kB / 0.5966 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.3694, allocations: 11.92 kB / 0.5966 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.3695, allocations: 17.03 kB / 0.5966 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.173e-05/0.3696, allocations: 23.91 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3696, allocations: 5.906 kB / 0.5967 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.3696, allocations: 4 kB / 0.5967 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3696, allocations: 4 kB / 0.5967 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.3697, allocations: 27.86 kB / 0.5967 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.3698, allocations: 23.95 kB / 0.5967 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3698, allocations: 0 / 0.5967 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3698, allocations: 1.562 kB / 0.5967 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3698, allocations: 0 / 0.5967 GB, free: 14.21 MB / 446.1 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.0005709/0.3704, allocations: 407 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3704, allocations: 8.031 kB / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3705, allocations: 4.938 kB / 0.5971 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.3706, allocations: 169.7 kB / 0.5973 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3706, allocations: 384 / 0.5973 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3706, allocations: 8.375 kB / 0.5973 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3707, allocations: 61.97 kB / 0.5974 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3708, allocations: 1.469 kB / 0.5974 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3708, allocations: 0 / 0.5974 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3708, allocations: 0 / 0.5974 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.3708, allocations: 23.98 kB / 0.5974 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.3712, allocations: 282.7 kB / 0.5977 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.967e-05/0.3713, allocations: 36.55 kB / 0.5977 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.3713, allocations: 24.97 kB / 0.5977 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3714, allocations: 4 kB / 0.5977 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.3716, allocations: 102.7 kB / 0.5978 GB, free: 12.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3716, allocations: 0 / 0.5978 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.3718, allocations: 135.3 kB / 0.5979 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3719, allocations: 85.05 kB / 0.598 GB, free: 12.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.3719, allocations: 111.3 kB / 0.5981 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.372, allocations: 33.64 kB / 0.5982 GB, free: 12.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.372, allocations: 84.14 kB / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.372, allocations: 20.62 kB / 0.5983 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3721, allocations: 27.2 kB / 0.5983 GB, free: 12.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.3721, allocations: 322.8 kB / 0.5986 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.3722, allocations: 15.98 kB / 0.5986 GB, free: 12.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.3722, allocations: 39.69 kB / 0.5987 GB, free: 12.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.3723, allocations: 108.4 kB / 0.5988 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3723, allocations: 4 kB / 0.5988 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001292/0.3724, allocations: 123.2 kB / 0.5989 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.3725, allocations: 34.48 kB / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3725, allocations: 0 / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3725, allocations: 1.344 kB / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.3725, allocations: 8 kB / 0.5989 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3725, allocations: 0 / 0.5989 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.3726, allocations: 13.44 kB / 0.5989 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3726, allocations: 4 kB / 0.5989 GB, free: 11.68 MB / 446.1 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 (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 7.909e-05/0.3727, allocations: 152.6 kB / 0.5991 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.3727, allocations: 7.906 kB / 0.5991 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3728, allocations: 14.02 kB / 0.5991 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3728, allocations: 4.375 kB / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3728, allocations: 0 / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3728, allocations: 0 / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.3731, allocations: 409.4 kB / 0.5995 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3731, allocations: 0 / 0.5995 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.3731, allocations: 0.75 kB / 0.5995 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.3731, allocations: 0 / 0.5995 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3732, allocations: 5.5 kB / 0.5995 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3732, allocations: 3.984 kB / 0.5995 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3732, allocations: 64 / 0.5995 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.3733, allocations: 241.8 kB / 0.5997 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.3734, allocations: 83.02 kB / 0.5998 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3734, allocations: 4 kB / 0.5998 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.3735, allocations: 11.92 kB / 0.5998 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.3735, allocations: 11.94 kB / 0.5998 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.3736, allocations: 9.766 kB / 0.5998 GB, free: 10.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.3736, allocations: 87.28 kB / 0.5999 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 0 / 0.5999 GB, free: 10.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3738, allocations: 12 kB / 0.5999 GB, free: 10.54 MB / 446.1 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) * 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 9.934e-05/0.3739, allocations: 100.6 kB / 0.6 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.3741, allocations: 124.8 kB / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3741, allocations: 0 / 0.6002 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.3742, allocations: 96.09 kB / 0.6003 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.3745, allocations: 17.42 kB / 0.6003 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.3748, allocations: 187.7 kB / 0.6004 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.735e-05/0.3749, allocations: 0.6857 MB / 0.6011 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.375, allocations: 7.438 kB / 0.6011 GB, free: 9.246 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.375, allocations: 7.938 kB / 0.6011 GB, free: 9.238 MB / 446.1 MB Notification: Performance of Templates: time 0.002237/0.3772, allocations: 0.8965 MB / 0.602 GB, free: 8.379 MB / 446.1 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)