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.005087/0.005092, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.00115/0.00115, allocations: 188.9 kB / 16.67 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.005/1.005, allocations: 143 MB / 433.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 75.88 kB / 0.5956 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.461, allocations: 82.02 MB / 0.6757 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.002012/0.4631, allocations: 0.5793 MB / 0.6762 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003429/0.4634, allocations: 56.22 kB / 0.6763 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.4635, allocations: 3.938 kB / 0.6763 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.4635, allocations: 1.438 kB / 0.6763 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-06/0.4636, allocations: 0 / 0.6763 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.4639, allocations: 19.88 kB / 0.6763 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.464, allocations: 2.531 kB / 0.6763 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.464, allocations: 0 / 0.6763 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.4641, allocations: 1.344 kB / 0.6763 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.013e-05/0.4641, allocations: 1.25 kB / 0.6763 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.4641, allocations: 4 kB / 0.6763 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.4643, allocations: 22.5 kB / 0.6763 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.4643, allocations: 0 / 0.6763 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.4643, allocations: 5.062 kB / 0.6763 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.4644, allocations: 17.97 kB / 0.6764 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4644, allocations: 0 / 0.6764 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4644, allocations: 0 / 0.6764 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.4644, allocations: 0.9062 kB / 0.6764 GB, free: 1.023 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.0002616/0.4647, allocations: 319 kB / 0.6767 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4648, allocations: 9.406 kB / 0.6767 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.465, allocations: 22.22 kB / 0.6767 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.614e-05/0.4651, allocations: 160.4 kB / 0.6769 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.4652, allocations: 5.781 kB / 0.6769 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4652, allocations: 384 / 0.6769 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4653, allocations: 34.5 kB / 0.6769 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4653, allocations: 192 / 0.6769 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4654, allocations: 3.938 kB / 0.6769 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.4654, allocations: 9.391 kB / 0.6769 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.4655, allocations: 5.281 kB / 0.6769 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.4656, allocations: 151.1 kB / 0.6771 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.4657, allocations: 21.61 kB / 0.6771 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.846e-05/0.4657, allocations: 16.3 kB / 0.6771 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4658, allocations: 1.188 kB / 0.6771 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.4658, allocations: 35.66 kB / 0.6771 GB, free: 128 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.4658, allocations: 0 / 0.6771 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002365/0.466, allocations: 49.08 kB / 0.6772 GB, free: 84 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4661, allocations: 55.41 kB / 0.6772 GB, free: 16 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.4661, allocations: 89.86 kB / 0.6773 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.4662, allocations: 26.95 kB / 0.6773 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.4662, allocations: 84.27 kB / 0.6774 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.4662, allocations: 0 / 0.6774 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.4663, allocations: 15.88 kB / 0.6774 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4664, allocations: 319.7 kB / 0.6777 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.4665, allocations: 3.406 kB / 0.6777 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.4665, allocations: 6.438 kB / 0.6777 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.4666, allocations: 24.09 kB / 0.6778 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4666, allocations: 0 / 0.6778 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001289/0.4668, allocations: 42.95 kB / 0.6778 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4668, allocations: 5.812 kB / 0.6778 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4668, allocations: 0 / 0.6778 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4668, allocations: 3.938 kB / 0.6778 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.4669, allocations: 3.406 kB / 0.6778 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4669, allocations: 0 / 0.6778 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/0.4669, allocations: 13.17 kB / 0.6778 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4669, allocations: 1.375 kB / 0.6778 GB, free: 15.38 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.946e-05/0.467, allocations: 107 kB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.467, allocations: 1.281 kB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.4671, allocations: 7.062 kB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4671, allocations: 0 / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4671, allocations: 1.156 kB / 0.6779 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4671, allocations: 4 kB / 0.6779 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.534e-05/0.4672, allocations: 151 kB / 0.6781 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4672, allocations: 4 kB / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4673, allocations: 3.406 kB / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4673, allocations: 0 / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4673, allocations: 5 kB / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4673, allocations: 0 / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4673, allocations: 0 / 0.6781 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.4675, allocations: 75.27 kB / 0.6782 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.4675, allocations: 78.17 kB / 0.6783 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4675, allocations: 5.094 kB / 0.6783 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.4676, allocations: 1.062 kB / 0.6783 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.4676, allocations: 9.016 kB / 0.6783 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.4676, allocations: 0 / 0.6783 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.4676, allocations: 75.28 kB / 0.6783 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4676, allocations: 1.219 kB / 0.6783 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001742/0.4678, allocations: 1.156 kB / 0.6783 GB, free: 14.8 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.0001339/0.468, allocations: 103.6 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.4681, allocations: 12.08 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4681, allocations: 1.031 kB / 0.6785 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.4682, allocations: 7.359 kB / 0.6785 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.4683, allocations: 2.125 kB / 0.6785 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.4686, allocations: 92.67 kB / 0.6785 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4688, allocations: 0.674 MB / 0.6792 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.4688, allocations: 1.25 kB / 0.6792 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.4689, allocations: 12.53 kB / 0.6792 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4689, allocations: 0 / 0.6792 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.002518/0.4714, allocations: 225.8 kB / 0.6794 GB, free: 13.75 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)