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.0007032/0.0007031, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0007221/0.0007221, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 223.3 MB / 240 MB, free: 5.41 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.8699/0.8699, allocations: 143.2 MB / 434.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002587, allocations: 8 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 83.42 MB / 0.5972 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001265/0.1254, allocations: 1.135 MB / 0.5983 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.1259, allocations: 407.4 kB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.126, allocations: 0 / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.126, allocations: 3.984 kB / 0.5987 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.1261, allocations: 7.938 kB / 0.5987 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.1262, allocations: 15.92 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.033e-05/0.1263, allocations: 39.86 kB / 0.5988 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.935e-05/0.1264, allocations: 11.98 kB / 0.5988 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.642e-05/0.1264, allocations: 15.92 kB / 0.5988 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.1265, allocations: 15.92 kB / 0.5988 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1265, allocations: 8 kB / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.1265, allocations: 0 / 0.5988 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.1265, allocations: 15.92 kB / 0.5989 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1266, allocations: 29.7 kB / 0.5989 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.1266, allocations: 27.95 kB / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1266, allocations: 0 / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1266, allocations: 0 / 0.5989 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.1266, allocations: 0 / 0.5989 GB, free: 6.312 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.0004554/0.1271, allocations: 389.2 kB / 0.5993 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.1271, allocations: 8.031 kB / 0.5993 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.1272, allocations: 7.906 kB / 0.5993 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1273, allocations: 182.9 kB / 0.5995 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1273, allocations: 4 kB / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1273, allocations: 4 kB / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.615e-05/0.1274, allocations: 45.69 kB / 0.5995 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1274, allocations: 4 kB / 0.5995 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1274, allocations: 4 kB / 0.5995 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1275, allocations: 0 / 0.5995 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.1275, allocations: 19.98 kB / 0.5996 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1278, allocations: 264.9 kB / 0.5998 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.1279, allocations: 46.44 kB / 0.5999 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.128, allocations: 20.98 kB / 0.5999 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.128, allocations: 8 kB / 0.5999 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.1281, allocations: 101 kB / 0.6 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1282, allocations: 0 / 0.6 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000232/0.1284, allocations: 139.4 kB / 0.6001 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1284, allocations: 89.05 kB / 0.6002 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.1285, allocations: 113.7 kB / 0.6003 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1285, allocations: 33.7 kB / 0.6003 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.1286, allocations: 84.14 kB / 0.6004 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1286, allocations: 19.8 kB / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1286, allocations: 0 / 0.6004 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.81e-05/0.1287, allocations: 314.8 kB / 0.6007 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.1287, allocations: 23.92 kB / 0.6008 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.1288, allocations: 30.58 kB / 0.6008 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.1288, allocations: 53.69 kB / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1289, allocations: 0 / 0.6008 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001383/0.129, allocations: 127.2 kB / 0.601 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.129, allocations: 29.7 kB / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.129, allocations: 0 / 0.601 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1291, allocations: 4 kB / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.1291, allocations: 7.984 kB / 0.601 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1291, allocations: 4 kB / 0.601 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.1292, allocations: 15.95 kB / 0.601 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1292, allocations: 7.938 kB / 0.601 GB, free: 3.879 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/0.1293, allocations: 147.5 kB / 0.6012 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1293, allocations: 7.984 kB / 0.6012 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.1293, allocations: 8.375 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1293, allocations: 4 kB / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1294, allocations: 384 / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1294, allocations: 0 / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1297, allocations: 412.1 kB / 0.6016 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1297, allocations: 0 / 0.6016 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-06/0.1297, allocations: 3.984 kB / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1297, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1298, allocations: 4 kB / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1298, allocations: 0 / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1298, allocations: 3.953 kB / 0.6016 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1299, allocations: 233.2 kB / 0.6018 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.13, allocations: 88.95 kB / 0.6019 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.13, allocations: 4 kB / 0.6019 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.1301, allocations: 11.98 kB / 0.6019 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1302, allocations: 15.94 kB / 0.6019 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1302, allocations: 0 / 0.6019 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.1302, allocations: 95.8 kB / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1302, allocations: 0 / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002112/0.1304, allocations: 12 kB / 0.602 GB, free: 2.727 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 (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 7.787e-05/0.1305, allocations: 107.2 kB / 0.6021 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.1307, allocations: 111.3 kB / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1307, allocations: 0 / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.1308, allocations: 91.33 kB / 0.6023 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.131, allocations: 15.98 kB / 0.6023 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.1313, allocations: 156.7 kB / 0.6025 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.1315, allocations: 0.6848 MB / 0.6032 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.1315, allocations: 7.984 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.1316, allocations: 11.44 kB / 0.6032 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1316, allocations: 0 / 0.6032 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.002417/0.134, allocations: 0.7477 MB / 0.6039 GB, free: 0.7227 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)