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.001535/0.001536, allocations: 115.1 kB / 16.42 MB, free: 6.473 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.001747/0.001748, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.8573/0.8573, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.81 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 82.05 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002258/0.1373, allocations: 1.411 MB / 0.6776 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.1379, allocations: 434.9 kB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.138, allocations: 0 / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.138, allocations: 3.938 kB / 0.6781 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.1381, allocations: 23.84 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.1382, allocations: 15.98 kB / 0.6781 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1384, allocations: 51.84 kB / 0.6782 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.1385, allocations: 11.92 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.1385, allocations: 31.86 kB / 0.6782 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1386, allocations: 23.84 kB / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1386, allocations: 4 kB / 0.6782 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.1386, allocations: 4 kB / 0.6782 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.1387, allocations: 8 kB / 0.6782 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1387, allocations: 19.86 kB / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.1388, allocations: 43.81 kB / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1388, allocations: 4 kB / 0.6783 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1388, allocations: 0 / 0.6783 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.1388, allocations: 0 / 0.6783 GB, free: 8.301 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.0005521/0.1394, allocations: 389.1 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1394, allocations: 8.031 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1395, allocations: 8.844 kB / 0.6787 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1396, allocations: 180.3 kB / 0.6789 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1396, allocations: 384 / 0.6789 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1396, allocations: 4.375 kB / 0.6789 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1398, allocations: 54 kB / 0.6789 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1398, allocations: 8 kB / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1398, allocations: 3.984 kB / 0.6789 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1398, allocations: 0 / 0.6789 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.1399, allocations: 19.94 kB / 0.6789 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.1402, allocations: 272.8 kB / 0.6792 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.229e-05/0.1403, allocations: 38.56 kB / 0.6792 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.1404, allocations: 24.97 kB / 0.6793 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1404, allocations: 4 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1406, allocations: 101.1 kB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1406, allocations: 3.938 kB / 0.6794 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002776/0.1409, allocations: 143.3 kB / 0.6795 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1409, allocations: 81.05 kB / 0.6796 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.141, allocations: 109.8 kB / 0.6797 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.141, allocations: 29.98 kB / 0.6797 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1411, allocations: 88.12 kB / 0.6798 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1411, allocations: 19.75 kB / 0.6798 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.1411, allocations: 29.66 kB / 0.6798 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1412, allocations: 318.8 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.1413, allocations: 16 kB / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.1413, allocations: 34.56 kB / 0.6802 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1414, allocations: 125.8 kB / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1415, allocations: 0 / 0.6803 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001485/0.1416, allocations: 123.2 kB / 0.6804 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.1417, allocations: 33.7 kB / 0.6805 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1417, allocations: 3.984 kB / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1417, allocations: 0 / 0.6805 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.086e-05/0.1417, allocations: 4 kB / 0.6805 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1417, allocations: 4 kB / 0.6805 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.1418, allocations: 8.062 kB / 0.6805 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1418, allocations: 4 kB / 0.6805 GB, free: 5.762 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 9.816e-05/0.1419, allocations: 156.3 kB / 0.6806 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1419, allocations: 7.906 kB / 0.6806 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.142, allocations: 8.375 kB / 0.6807 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.142, allocations: 0 / 0.6807 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.142, allocations: 0 / 0.6807 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.608e-05/0.1421, allocations: 85.09 kB / 0.6807 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1421, allocations: 8 kB / 0.6807 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1422, allocations: 7.984 kB / 0.6808 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1422, allocations: 7.938 kB / 0.6808 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002474/0.1425, allocations: 278 kB / 0.681 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002228/0.1427, allocations: 300.4 kB / 0.6813 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.607e-05/0.1428, allocations: 35.98 kB / 0.6813 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.1428, allocations: 99.69 kB / 0.6814 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of Backend: time 4e-07/0.1428, allocations: 0 / 0.6814 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.1432, allocations: 172.4 kB / 0.6816 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005183/0.1437, allocations: 0.6426 MB / 0.6822 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of Templates: time 0.003018/0.1467, allocations: 0.9476 MB / 0.6832 GB, free: 2.883 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)