Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001139, allocations: 106.5 kB / 16.41 MB, free: 6.492 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.001138/0.001138, allocations: 191 kB / 17.34 MB, free: 5.762 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.205/1.205, allocations: 222.9 MB / 241 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.7804/0.7804, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 60.09 kB / 0.5962 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 82.04 MB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001592/0.1345, allocations: 0.5846 MB / 0.6769 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002325/0.1347, allocations: 47.84 kB / 0.677 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.1347, allocations: 4 kB / 0.677 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1348, allocations: 7.938 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.481e-06/0.1348, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.135, allocations: 7.984 kB / 0.677 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.901e-05/0.135, allocations: 0 / 0.677 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1351, allocations: 8 kB / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.121e-05/0.1351, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.816e-05/0.1351, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1351, allocations: 0 / 0.677 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.1352, allocations: 27.95 kB / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.1352, allocations: 0 / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.1353, allocations: 0 / 0.677 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.543e-05/0.1353, allocations: 19.92 kB / 0.677 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1354, allocations: 4 kB / 0.677 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1354, allocations: 3.938 kB / 0.677 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.1354, allocations: 0 / 0.677 GB, free: 9.586 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002528/0.1356, allocations: 318.5 kB / 0.6774 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1357, allocations: 8.031 kB / 0.6774 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.1359, allocations: 20.91 kB / 0.6774 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.136, allocations: 164.4 kB / 0.6775 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.136, allocations: 384 / 0.6775 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.136, allocations: 4.375 kB / 0.6775 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1361, allocations: 34.25 kB / 0.6776 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1362, allocations: 192 / 0.6776 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1362, allocations: 3.938 kB / 0.6776 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1362, allocations: 0 / 0.6776 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.1363, allocations: 11.98 kB / 0.6776 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1364, allocations: 153.7 kB / 0.6777 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/0.1365, allocations: 22.89 kB / 0.6778 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.1365, allocations: 8.844 kB / 0.6778 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1365, allocations: 4.062 kB / 0.6778 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1366, allocations: 34.56 kB / 0.6778 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1366, allocations: 0 / 0.6778 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.1368, allocations: 57.55 kB / 0.6779 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1368, allocations: 55.34 kB / 0.6779 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.1369, allocations: 89.86 kB / 0.678 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1369, allocations: 25.7 kB / 0.678 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.1369, allocations: 80.14 kB / 0.6781 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.137, allocations: 0 / 0.6781 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.137, allocations: 21.72 kB / 0.6781 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.1371, allocations: 315 kB / 0.6784 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.1371, allocations: 7.984 kB / 0.6784 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.1372, allocations: 0 / 0.6784 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.598e-05/0.1373, allocations: 16.84 kB / 0.6784 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1373, allocations: 3.938 kB / 0.6784 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001223/0.1374, allocations: 45.69 kB / 0.6785 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1374, allocations: 11.98 kB / 0.6785 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1374, allocations: 0 / 0.6785 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1375, allocations: 3.938 kB / 0.6785 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.1375, allocations: 4 kB / 0.6785 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1375, allocations: 0 / 0.6785 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.1376, allocations: 0 / 0.6785 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1376, allocations: 0 / 0.6785 GB, free: 7.867 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 (1): * Single equations (assignments): 1 * 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 6.035e-05/0.1376, allocations: 117.9 kB / 0.6786 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-06/0.1377, allocations: 4 kB / 0.6786 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.1377, allocations: 7.062 kB / 0.6786 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1377, allocations: 0 / 0.6786 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1377, allocations: 0 / 0.6786 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1377, allocations: 0 / 0.6786 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.108e-05/0.1378, allocations: 149.7 kB / 0.6788 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1378, allocations: 0 / 0.6788 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.1378, allocations: 0 / 0.6788 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1379, allocations: 4 kB / 0.6788 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1379, allocations: 7.938 kB / 0.6788 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1379, allocations: 0 / 0.6788 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1379, allocations: 4 kB / 0.6788 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.138, allocations: 69.05 kB / 0.6789 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.1381, allocations: 85.05 kB / 0.6789 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.1381, allocations: 3.938 kB / 0.6789 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.1381, allocations: 0 / 0.6789 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-06/0.1381, allocations: 4.031 kB / 0.6789 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1381, allocations: 0 / 0.6789 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.1382, allocations: 79.28 kB / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1382, allocations: 0 / 0.679 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001677/0.1383, allocations: 0 / 0.679 GB, free: 7.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001049/0.1385, allocations: 99.23 kB / 0.6791 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.1386, allocations: 23.92 kB / 0.6791 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1386, allocations: 0 / 0.6791 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.1386, allocations: 7.938 kB / 0.6791 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1388, allocations: 7.938 kB / 0.6792 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.139, allocations: 118.5 kB / 0.6793 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.1392, allocations: 0.6729 MB / 0.6799 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.1393, allocations: 7.438 kB / 0.6799 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1393, allocations: 128 / 0.6799 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of Templates: time 0.001395/0.1407, allocations: 387.8 kB / 0.6803 GB, free: 5.867 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)