Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 114 kB / 16.42 MB, free: 6.402 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.001068/0.001068, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 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.8474/0.8474, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.0029/0.1392, allocations: 1.438 MB / 0.6777 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.1399, allocations: 391.5 kB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.14, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.14, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.14, allocations: 3.938 kB / 0.6781 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1405, allocations: 123.5 kB / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.159e-05/0.1406, allocations: 27.88 kB / 0.6782 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.1407, allocations: 11.97 kB / 0.6783 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.1407, allocations: 8 kB / 0.6783 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.1407, allocations: 15.91 kB / 0.6783 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1408, allocations: 4 kB / 0.6783 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1411, allocations: 271.6 kB / 0.6785 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1412, allocations: 4 kB / 0.6785 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.1412, allocations: 15.94 kB / 0.6786 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.1414, allocations: 103.8 kB / 0.6787 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1414, allocations: 4 kB / 0.6787 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1414, allocations: 3.938 kB / 0.6787 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1414, allocations: 0 / 0.6787 GB, free: 7.922 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005774/0.142, allocations: 363.4 kB / 0.679 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1421, allocations: 12.03 kB / 0.679 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1421, allocations: 0.9375 kB / 0.679 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1423, allocations: 176.2 kB / 0.6792 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1423, allocations: 384 / 0.6792 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1423, allocations: 4.375 kB / 0.6792 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1425, allocations: 50.23 kB / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1425, allocations: 192 / 0.6792 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1426, allocations: 7.938 kB / 0.6793 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1426, allocations: 0 / 0.6793 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1427, allocations: 35.95 kB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.143, allocations: 248.9 kB / 0.6795 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1432, allocations: 54.48 kB / 0.6796 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.1433, allocations: 20.91 kB / 0.6796 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.144, allocations: 461.5 kB / 0.68 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.144, allocations: 30.56 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.144, allocations: 0 / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.1444, allocations: 85.67 kB / 0.6801 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.1444, allocations: 59.44 kB / 0.6802 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.1445, allocations: 97.86 kB / 0.6803 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1445, allocations: 29.7 kB / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1445, allocations: 88.12 kB / 0.6804 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.1446, allocations: 3.906 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.1446, allocations: 17.72 kB / 0.6804 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/0.1447, allocations: 314.8 kB / 0.6807 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.1448, allocations: 19.98 kB / 0.6807 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.1449, allocations: 19.97 kB / 0.6808 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1451, allocations: 36.83 kB / 0.6808 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1451, allocations: 0 / 0.6808 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.1453, allocations: 81.84 kB / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1453, allocations: 4 kB / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1453, allocations: 0 / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1453, allocations: 0 / 0.6809 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.1454, allocations: 15.98 kB / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1454, allocations: 0 / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1455, allocations: 4 kB / 0.6809 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1455, allocations: 0 / 0.6809 GB, free: 5.309 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.01e-05/0.1456, allocations: 117.8 kB / 0.681 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.1456, allocations: 11.84 kB / 0.681 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.1459, allocations: 77.12 kB / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1459, allocations: 0 / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1459, allocations: 0 / 0.6811 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.1459, allocations: 77.11 kB / 0.6812 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.1459, allocations: 0 / 0.6812 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.146, allocations: 7.984 kB / 0.6812 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.146, allocations: 12.03 kB / 0.6812 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002406/0.1463, allocations: 148.9 kB / 0.6813 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002663/0.1466, allocations: 242.8 kB / 0.6816 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.184e-05/0.1467, allocations: 19.98 kB / 0.6816 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.1467, allocations: 79.28 kB / 0.6817 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of Backend: time 3.8e-07/0.1467, allocations: 0 / 0.6817 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.1472, allocations: 138.3 kB / 0.6818 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004531/0.1477, allocations: 0.553 MB / 0.6823 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.003503/0.1512, allocations: 1.426 MB / 0.6837 GB, free: 2.309 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)