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.001138/0.001138, allocations: 109.9 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.001098/0.001098, allocations: 183 kB / 17.34 MB, free: 5.766 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.319/1.319, allocations: 222.9 MB / 241 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.852/0.852, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.69 kB / 0.5962 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1558, allocations: 82.03 MB / 0.6763 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001751/0.1576, allocations: 0.585 MB / 0.6769 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.1579, allocations: 47.86 kB / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.1579, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1579, allocations: 0 / 0.677 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.1579, allocations: 3.938 kB / 0.677 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1582, allocations: 15.92 kB / 0.677 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.1582, allocations: 8 kB / 0.677 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1583, allocations: 3.984 kB / 0.677 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1583, allocations: 3.984 kB / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.625e-05/0.1584, allocations: 0 / 0.677 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1584, allocations: 4 kB / 0.677 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1585, allocations: 15.98 kB / 0.677 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1585, allocations: 4 kB / 0.677 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.1585, allocations: 0 / 0.677 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.1586, allocations: 15.92 kB / 0.677 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1586, allocations: 0 / 0.677 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.247e-06/0.1586, allocations: 0 / 0.677 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.1586, allocations: 11.92 kB / 0.677 GB, free: 9.57 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.0002733/0.1589, allocations: 315.6 kB / 0.6773 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.159, allocations: 8.031 kB / 0.6774 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.1592, allocations: 20.91 kB / 0.6774 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.1593, allocations: 164.4 kB / 0.6775 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1593, allocations: 384 / 0.6775 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1594, allocations: 384 / 0.6775 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1595, allocations: 38.25 kB / 0.6776 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1595, allocations: 192 / 0.6776 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1595, allocations: 3.938 kB / 0.6776 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1595, allocations: 0 / 0.6776 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.1596, allocations: 11.98 kB / 0.6776 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1598, allocations: 149.7 kB / 0.6777 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.1599, allocations: 30.88 kB / 0.6778 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.041e-05/0.1599, allocations: 8.922 kB / 0.6778 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.16, allocations: 7.969 kB / 0.6778 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.16, allocations: 30.56 kB / 0.6778 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.16, allocations: 0 / 0.6778 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000234/0.1602, allocations: 57.55 kB / 0.6779 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1603, allocations: 55.53 kB / 0.6779 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.1603, allocations: 89.86 kB / 0.678 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1603, allocations: 25.7 kB / 0.678 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.1604, allocations: 84.14 kB / 0.6781 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.1604, allocations: 0 / 0.6781 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.1604, allocations: 17.7 kB / 0.6781 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1605, allocations: 310.8 kB / 0.6784 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.1606, allocations: 4 kB / 0.6784 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.1606, allocations: 11.98 kB / 0.6784 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/0.1607, allocations: 20.84 kB / 0.6784 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1607, allocations: 0 / 0.6784 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001239/0.1609, allocations: 45.56 kB / 0.6785 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1609, allocations: 4 kB / 0.6785 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1609, allocations: 3.938 kB / 0.6785 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1609, allocations: 8.031 kB / 0.6785 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.161, allocations: 7.984 kB / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.161, allocations: 0 / 0.6785 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.1611, allocations: 4 kB / 0.6785 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1611, allocations: 0 / 0.6785 GB, free: 7.836 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 7.21e-05/0.1612, allocations: 105.8 kB / 0.6786 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.1612, allocations: 0 / 0.6786 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.1612, allocations: 11.06 kB / 0.6786 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1612, allocations: 8 kB / 0.6786 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1612, allocations: 0 / 0.6786 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.1612, allocations: 0 / 0.6786 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.892e-05/0.1613, allocations: 145.7 kB / 0.6788 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1613, allocations: 0 / 0.6788 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1614, allocations: 4 kB / 0.6788 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1614, allocations: 0 / 0.6788 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1614, allocations: 7.922 kB / 0.6788 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1614, allocations: 0 / 0.6788 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1614, allocations: 0 / 0.6788 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1616, allocations: 73.06 kB / 0.6789 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1616, allocations: 81.05 kB / 0.6789 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1616, allocations: 3.938 kB / 0.6789 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.339e-05/0.1617, allocations: 7.984 kB / 0.6789 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.1617, allocations: 0 / 0.6789 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1617, allocations: 0 / 0.6789 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.1617, allocations: 79.31 kB / 0.679 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1617, allocations: 0 / 0.679 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001764/0.1619, allocations: 0 / 0.679 GB, free: 7.227 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.0001231/0.162, allocations: 99.25 kB / 0.6791 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.1622, allocations: 11.98 kB / 0.6791 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.1622, allocations: 0 / 0.6791 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.1623, allocations: 15.98 kB / 0.6791 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1624, allocations: 4.75 kB / 0.6791 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.1627, allocations: 110.5 kB / 0.6793 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.1629, allocations: 0.6729 MB / 0.6799 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.1629, allocations: 7.438 kB / 0.6799 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1629, allocations: 3.938 kB / 0.6799 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.001621/0.1645, allocations: 405.5 kB / 0.6803 GB, free: 5.844 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)