Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004893/0.004893, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001234/0.001234, allocations: 200.7 kB / 16.68 MB, free: 5.977 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.248/1.248, allocations: 222.9 MB / 240.4 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.8099/0.8099, allocations: 143 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 67.09 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1307, allocations: 82.04 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002249/0.133, allocations: 1.464 MB / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.1336, allocations: 450.8 kB / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.1336, allocations: 0 / 0.6775 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.1337, allocations: 3.938 kB / 0.6775 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.1337, allocations: 7.922 kB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001241/0.1339, allocations: 19.97 kB / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.1339, allocations: 55.8 kB / 0.6775 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.134, allocations: 19.98 kB / 0.6776 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1341, allocations: 19.97 kB / 0.6776 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.1342, allocations: 23.86 kB / 0.6776 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1342, allocations: 4 kB / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.1342, allocations: 7.938 kB / 0.6776 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.1342, allocations: 11.98 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1343, allocations: 31.8 kB / 0.6776 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.1344, allocations: 39.81 kB / 0.6777 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1344, allocations: 4 kB / 0.6777 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1344, allocations: 0 / 0.6777 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1344, allocations: 0 / 0.6777 GB, free: 8.191 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004389/0.1348, allocations: 355.5 kB / 0.678 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1349, allocations: 12.03 kB / 0.678 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.1349, allocations: 4.844 kB / 0.678 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.135, allocations: 176.3 kB / 0.6782 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.135, allocations: 384 / 0.6782 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1351, allocations: 4.375 kB / 0.6782 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.1352, allocations: 61.94 kB / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.1352, allocations: 0 / 0.6783 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1352, allocations: 11.98 kB / 0.6783 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.1352, allocations: 3.938 kB / 0.6783 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.1353, allocations: 23.98 kB / 0.6783 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.1357, allocations: 300.7 kB / 0.6786 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.327e-05/0.1358, allocations: 54.62 kB / 0.6787 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.1358, allocations: 28.88 kB / 0.6787 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-06/0.1359, allocations: 0 / 0.6787 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.136, allocations: 71.42 kB / 0.6788 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.136, allocations: 0 / 0.6788 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002078/0.1362, allocations: 97.89 kB / 0.6788 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1362, allocations: 55.5 kB / 0.6789 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.1363, allocations: 113.7 kB / 0.679 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1364, allocations: 33.7 kB / 0.679 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.1364, allocations: 84.14 kB / 0.6791 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1364, allocations: 31.62 kB / 0.6791 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.1365, allocations: 25.72 kB / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1366, allocations: 322.8 kB / 0.6795 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.1366, allocations: 12 kB / 0.6795 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.1367, allocations: 47.42 kB / 0.6795 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.203e-05/0.1368, allocations: 71.53 kB / 0.6796 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1368, allocations: 0 / 0.6796 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001402/0.1369, allocations: 101.5 kB / 0.6797 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.1369, allocations: 4 kB / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1369, allocations: 64 / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1369, allocations: 8 kB / 0.6797 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.137, allocations: 8 kB / 0.6797 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.137, allocations: 4.031 kB / 0.6797 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.405e-05/0.1371, allocations: 11.89 kB / 0.6797 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1371, allocations: 4 kB / 0.6797 GB, free: 5.844 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.338e-05/0.1372, allocations: 126.6 kB / 0.6799 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.1372, allocations: 7.938 kB / 0.6799 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.1372, allocations: 7.969 kB / 0.6799 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1372, allocations: 3.984 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1372, allocations: 0 / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1373, allocations: 8 kB / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.1376, allocations: 358.3 kB / 0.6802 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1376, allocations: 0 / 0.6802 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.1376, allocations: 4 kB / 0.6802 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1377, allocations: 0 / 0.6802 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.1377, allocations: 0 / 0.6802 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1377, allocations: 3.938 kB / 0.6802 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1377, allocations: 0 / 0.6802 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.1378, allocations: 191.5 kB / 0.6804 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.1379, allocations: 81.02 kB / 0.6805 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1379, allocations: 3.984 kB / 0.6805 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.138, allocations: 7.938 kB / 0.6805 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.138, allocations: 11.98 kB / 0.6805 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.138, allocations: 4 kB / 0.6805 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.1381, allocations: 83.28 kB / 0.6806 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 0.6806 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002197/0.1383, allocations: 16 kB / 0.6806 GB, free: 4.84 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.677e-05/0.1384, allocations: 103.2 kB / 0.6807 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1385, allocations: 52.16 kB / 0.6808 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1385, allocations: 0 / 0.6808 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.1386, allocations: 31.92 kB / 0.6808 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1389, allocations: 6.062 kB / 0.6808 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.1392, allocations: 177.3 kB / 0.681 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1395, allocations: 0.6807 MB / 0.6816 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.1395, allocations: 7.984 kB / 0.6816 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1395, allocations: 11.44 kB / 0.6817 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1395, allocations: 0 / 0.6817 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.002496/0.142, allocations: 0.7904 MB / 0.6824 GB, free: 2.938 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)