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.005533/0.005533, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001298/0.001298, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.8109/0.8109, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 64.38 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 82.04 MB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002283/0.1338, allocations: 1.423 MB / 0.677 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006759/0.1345, allocations: 438.9 kB / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.1346, allocations: 0 / 0.6774 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.1346, allocations: 3.938 kB / 0.6774 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.1347, allocations: 7.922 kB / 0.6774 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.1348, allocations: 23.92 kB / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.135, allocations: 51.86 kB / 0.6775 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.1351, allocations: 19.91 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.1351, allocations: 16 kB / 0.6775 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.1352, allocations: 27.78 kB / 0.6775 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1352, allocations: 4 kB / 0.6775 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.1352, allocations: 4 kB / 0.6775 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1352, allocations: 0 / 0.6775 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.1353, allocations: 27.86 kB / 0.6776 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.997e-05/0.1354, allocations: 43.81 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1354, allocations: 0 / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1354, allocations: 0 / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.1354, allocations: 4 kB / 0.6776 GB, free: 8.289 MB / 0.5137 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.0005405/0.136, allocations: 388.1 kB / 0.678 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.136, allocations: 8.031 kB / 0.678 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.1361, allocations: 8.844 kB / 0.678 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1362, allocations: 172.3 kB / 0.6782 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1362, allocations: 384 / 0.6782 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1362, allocations: 12.31 kB / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1363, allocations: 57.94 kB / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1363, allocations: 0 / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1363, allocations: 0 / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1363, allocations: 0 / 0.6782 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.826e-05/0.1364, allocations: 23.98 kB / 0.6783 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1368, allocations: 272.7 kB / 0.6785 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.1369, allocations: 42.5 kB / 0.6786 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.1369, allocations: 24.98 kB / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1369, allocations: 7.984 kB / 0.6786 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.1371, allocations: 97.03 kB / 0.6787 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1371, allocations: 0 / 0.6787 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002422/0.1373, allocations: 139.2 kB / 0.6788 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.1374, allocations: 85.11 kB / 0.6789 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.1375, allocations: 109.9 kB / 0.679 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1375, allocations: 33.7 kB / 0.679 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1375, allocations: 88.12 kB / 0.6791 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.1376, allocations: 23.81 kB / 0.6791 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.1376, allocations: 21.72 kB / 0.6792 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.094e-05/0.1377, allocations: 326.8 kB / 0.6795 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.1377, allocations: 12 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.1378, allocations: 46.44 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.564e-05/0.1379, allocations: 114 kB / 0.6796 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1379, allocations: 4 kB / 0.6796 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001352/0.138, allocations: 119.2 kB / 0.6798 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.138, allocations: 37.7 kB / 0.6798 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1381, allocations: 3.984 kB / 0.6798 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1381, allocations: 0 / 0.6798 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.1381, allocations: 12 kB / 0.6798 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1381, allocations: 384 / 0.6798 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.1382, allocations: 4 kB / 0.6798 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1382, allocations: 4 kB / 0.6798 GB, free: 5.75 MB / 0.5137 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 8.217e-05/0.1383, allocations: 152.3 kB / 0.68 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.1383, allocations: 11.84 kB / 0.68 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1383, allocations: 8.375 kB / 0.68 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1383, allocations: 4 kB / 0.68 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1384, allocations: 0 / 0.68 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1384, allocations: 7.984 kB / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.1387, allocations: 404.1 kB / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1387, allocations: 0 / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.1387, allocations: 0 / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1387, allocations: 0 / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1387, allocations: 7.938 kB / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1388, allocations: 0 / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1388, allocations: 0 / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.139, allocations: 241 kB / 0.6806 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.139, allocations: 77.11 kB / 0.6807 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.139, allocations: 7.984 kB / 0.6807 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.1391, allocations: 4 kB / 0.6807 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1392, allocations: 15.92 kB / 0.6807 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1392, allocations: 4 kB / 0.6807 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.1392, allocations: 87.27 kB / 0.6808 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1392, allocations: 4 kB / 0.6808 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002302/0.1395, allocations: 16 kB / 0.6808 GB, free: 4.598 MB / 0.5137 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.809e-05/0.1395, allocations: 104.8 kB / 0.6809 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1397, allocations: 119.3 kB / 0.681 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1397, allocations: 0 / 0.681 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.1398, allocations: 91.39 kB / 0.6811 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1401, allocations: 20.11 kB / 0.6811 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.1404, allocations: 165.3 kB / 0.6813 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.1406, allocations: 0.6846 MB / 0.682 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.1406, allocations: 4 kB / 0.682 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.1406, allocations: 11.44 kB / 0.682 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1406, allocations: 0 / 0.682 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of Templates: time 0.002634/0.1433, allocations: 0.8696 MB / 0.6828 GB, free: 2.469 MB / 0.5137 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)