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.001652/0.001652, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.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 1/1, allocations: 143 MB / 433.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 0.5142 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1624, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001849/0.1643, allocations: 0.6504 MB / 0.5949 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.1646, allocations: 55.84 kB / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.042e-05/0.1646, allocations: 0 / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.1646, allocations: 0 / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.1646, allocations: 0 / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1648, allocations: 4 kB / 0.595 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.1649, allocations: 8 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.1649, allocations: 11.92 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.491e-05/0.1649, allocations: 3.984 kB / 0.595 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.15e-05/0.165, allocations: 0 / 0.595 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.165, allocations: 0 / 0.595 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.1651, allocations: 23.92 kB / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.1651, allocations: 0 / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.1651, allocations: 0 / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.502e-05/0.1652, allocations: 11.98 kB / 0.595 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1652, allocations: 0 / 0.595 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1652, allocations: 0 / 0.595 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.1652, allocations: 0 / 0.595 GB, free: 9.293 MB / 0.4981 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.0003009/0.1655, allocations: 325.8 kB / 0.5953 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1655, allocations: 8.031 kB / 0.5953 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.1658, allocations: 16.91 kB / 0.5954 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.1659, allocations: 160.4 kB / 0.5955 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1659, allocations: 4.312 kB / 0.5955 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-06/0.166, allocations: 4.375 kB / 0.5955 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1661, allocations: 34.25 kB / 0.5955 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1661, allocations: 4.188 kB / 0.5956 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1661, allocations: 3.938 kB / 0.5956 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1661, allocations: 0 / 0.5956 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.195e-05/0.1662, allocations: 11.92 kB / 0.5956 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.1664, allocations: 153.7 kB / 0.5957 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.1665, allocations: 22.61 kB / 0.5957 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1666, allocations: 12.84 kB / 0.5957 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1666, allocations: 4.062 kB / 0.5958 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1666, allocations: 30.56 kB / 0.5958 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1666, allocations: 0 / 0.5958 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000236/0.1669, allocations: 57.55 kB / 0.5958 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1669, allocations: 51.41 kB / 0.5959 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1669, allocations: 93.98 kB / 0.596 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.167, allocations: 25.7 kB / 0.596 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.167, allocations: 80.14 kB / 0.5961 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.167, allocations: 3.938 kB / 0.5961 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1671, allocations: 13.72 kB / 0.5961 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1672, allocations: 310.8 kB / 0.5964 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.1672, allocations: 7.984 kB / 0.5964 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.1673, allocations: 4 kB / 0.5964 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.1674, allocations: 20.84 kB / 0.5964 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1674, allocations: 0 / 0.5964 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.1675, allocations: 53.52 kB / 0.5965 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1675, allocations: 4 kB / 0.5965 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1676, allocations: 0 / 0.5965 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1676, allocations: 3.938 kB / 0.5965 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.991e-05/0.1676, allocations: 8.094 kB / 0.5965 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1677, allocations: 4 kB / 0.5965 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.1677, allocations: 0 / 0.5965 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1677, allocations: 3.984 kB / 0.5965 GB, free: 7.559 MB / 0.4981 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.378e-05/0.1678, allocations: 109.8 kB / 0.5966 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.1678, allocations: 0 / 0.5966 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.1678, allocations: 11.06 kB / 0.5966 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1678, allocations: 0 / 0.5966 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1678, allocations: 4 kB / 0.5966 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1679, allocations: 0 / 0.5966 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.572e-05/0.1679, allocations: 149.7 kB / 0.5968 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.168, allocations: 0 / 0.5968 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.168, allocations: 0 / 0.5968 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/0.168, allocations: 7.938 kB / 0.5968 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.168, allocations: 3.938 kB / 0.5968 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.168, allocations: 0 / 0.5968 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.168, allocations: 0 / 0.5968 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.1682, allocations: 73.05 kB / 0.5968 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1682, allocations: 81.11 kB / 0.5969 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1683, allocations: 3.938 kB / 0.5969 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.068e-05/0.1683, allocations: 0 / 0.5969 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-06/0.1683, allocations: 0 / 0.5969 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1683, allocations: 3.984 kB / 0.5969 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.304e-05/0.1684, allocations: 79.28 kB / 0.597 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.713e-06/0.1684, allocations: 4.031 kB / 0.597 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001746/0.1686, allocations: 3.938 kB / 0.597 GB, free: 6.941 MB / 0.4981 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.0001299/0.1687, allocations: 95.25 kB / 0.5971 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1688, allocations: 15.92 kB / 0.5971 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1688, allocations: 0 / 0.5971 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/0.1689, allocations: 4 kB / 0.5971 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.169, allocations: 16.38 kB / 0.5971 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.1693, allocations: 108.5 kB / 0.5972 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1695, allocations: 0.6692 MB / 0.5979 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.1696, allocations: 7.438 kB / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1696, allocations: 0 / 0.5979 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of Templates: time 0.001665/0.1712, allocations: 375.8 kB / 0.5983 GB, free: 5.594 MB / 0.4981 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)