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.000872/0.000872, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005959/0.005959, allocations: 171.9 kB / 16.27 MB, free: 6.66 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.119/1.119, allocations: 223.3 MB / 240.3 MB, free: 5.348 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 0.8426/0.8426, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 12 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 83.41 MB / 0.5978 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001229/0.1226, allocations: 1.147 MB / 0.5989 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005635/0.1231, allocations: 427.1 kB / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.1232, allocations: 0 / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.1232, allocations: 0 / 0.5994 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.439e-05/0.1233, allocations: 7.938 kB / 0.5994 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001136/0.1234, allocations: 27.91 kB / 0.5994 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.1234, allocations: 47.78 kB / 0.5994 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.043e-05/0.1235, allocations: 8 kB / 0.5994 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.1236, allocations: 15.94 kB / 0.5995 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.1236, allocations: 23.91 kB / 0.5995 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1236, allocations: 0 / 0.5995 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.1237, allocations: 4 kB / 0.5995 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1237, allocations: 0 / 0.5995 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.1237, allocations: 53.55 kB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.1238, allocations: 31.89 kB / 0.5996 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1238, allocations: 3.938 kB / 0.5996 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1238, allocations: 0 / 0.5996 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.1238, allocations: 0 / 0.5996 GB, free: 5.941 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.0004464/0.1243, allocations: 393.4 kB / 0.5999 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.1243, allocations: 8.031 kB / 0.6 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.1243, allocations: 8.844 kB / 0.6 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.1244, allocations: 168.3 kB / 0.6001 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1245, allocations: 4.375 kB / 0.6001 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1245, allocations: 12.38 kB / 0.6001 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.839e-05/0.1246, allocations: 49.98 kB / 0.6002 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1246, allocations: 0 / 0.6002 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1246, allocations: 4 kB / 0.6002 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1246, allocations: 0 / 0.6002 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.1247, allocations: 27.86 kB / 0.6002 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.125, allocations: 268.8 kB / 0.6005 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/0.1251, allocations: 46.56 kB / 0.6005 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.1251, allocations: 20.98 kB / 0.6005 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1251, allocations: 3.984 kB / 0.6005 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.1253, allocations: 105 kB / 0.6006 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1253, allocations: 0 / 0.6006 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002266/0.1255, allocations: 139.2 kB / 0.6008 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1256, allocations: 89.17 kB / 0.6009 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.1256, allocations: 109.8 kB / 0.601 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1257, allocations: 29.7 kB / 0.601 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.1257, allocations: 84.14 kB / 0.6011 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.1257, allocations: 19.8 kB / 0.6011 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.1257, allocations: 13.72 kB / 0.6011 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.1258, allocations: 322.8 kB / 0.6014 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.1259, allocations: 16 kB / 0.6014 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.1259, allocations: 42.5 kB / 0.6015 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.126, allocations: 113.9 kB / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.126, allocations: 0 / 0.6016 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001396/0.1262, allocations: 127.2 kB / 0.6017 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1262, allocations: 29.7 kB / 0.6017 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1262, allocations: 4 kB / 0.6017 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1262, allocations: 8.047 kB / 0.6017 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-05/0.1263, allocations: 7.984 kB / 0.6017 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.1263, allocations: 0 / 0.6017 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1263, allocations: 11.94 kB / 0.6018 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1263, allocations: 4 kB / 0.6018 GB, free: 3.406 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 9.328e-05/0.1264, allocations: 159.4 kB / 0.6019 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.1265, allocations: 7.906 kB / 0.6019 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.1265, allocations: 8.375 kB / 0.6019 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1265, allocations: 4 kB / 0.6019 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1265, allocations: 0 / 0.6019 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1265, allocations: 0 / 0.6019 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1268, allocations: 400.5 kB / 0.6023 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1269, allocations: 7.922 kB / 0.6023 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.1269, allocations: 4.062 kB / 0.6023 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1269, allocations: 4 kB / 0.6023 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1269, allocations: 4 kB / 0.6023 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1269, allocations: 0 / 0.6023 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1269, allocations: 4 kB / 0.6023 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1271, allocations: 237 kB / 0.6026 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.1271, allocations: 81.11 kB / 0.6026 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1272, allocations: 0 / 0.6026 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.1273, allocations: 15.98 kB / 0.6027 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1273, allocations: 11.92 kB / 0.6027 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1273, allocations: 8 kB / 0.6027 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.1274, allocations: 87.81 kB / 0.6028 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1274, allocations: 0 / 0.6028 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1276, allocations: 16 kB / 0.6028 GB, free: 2.246 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 7.573e-05/0.1276, allocations: 99.25 kB / 0.6029 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1278, allocations: 111.3 kB / 0.603 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1278, allocations: 0 / 0.603 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1279, allocations: 95.69 kB / 0.6031 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1281, allocations: 19.98 kB / 0.6031 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.1284, allocations: 160.8 kB / 0.6032 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1286, allocations: 0.6848 MB / 0.6039 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1286, allocations: 8 kB / 0.6039 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.1286, allocations: 7.438 kB / 0.6039 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of SimCode: time 1.472e-06/0.1287, allocations: 0 / 0.6039 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of Templates: time 0.002298/0.131, allocations: 0.7713 MB / 0.6047 GB, free: 224 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)