Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001715/0.001715, allocations: 103.3 kB / 16.27 MB, free: 6.035 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.001957/0.001957, allocations: 190.5 kB / 17.2 MB, free: 5.672 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8366/0.8366, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001974, allocations: 71.89 kB / 0.4958 GB, free: 2.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4245, allocations: 78.86 MB / 0.5728 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.00174/0.4263, allocations: 0.5621 MB / 0.5733 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002327/0.4266, allocations: 48.44 kB / 0.5734 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.4266, allocations: 2.062 kB / 0.5734 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.4266, allocations: 0 / 0.5734 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.4266, allocations: 0 / 0.5734 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.4269, allocations: 22.97 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.719e-05/0.4269, allocations: 1.125 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.427, allocations: 2 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.427, allocations: 1.062 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.124e-05/0.427, allocations: 2.141 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.427, allocations: 0.9062 kB / 0.5734 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4272, allocations: 24.92 kB / 0.5734 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.4272, allocations: 0 / 0.5734 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.4272, allocations: 6.062 kB / 0.5734 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.52e-05/0.4273, allocations: 14.77 kB / 0.5734 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4273, allocations: 0 / 0.5734 GB, free: 30.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4273, allocations: 1.531 kB / 0.5734 GB, free: 30.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4273, allocations: 1.281 kB / 0.5734 GB, free: 30.49 MB / 446.1 MB 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.0002273/0.4276, allocations: 316.9 kB / 0.5737 GB, free: 30.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4276, allocations: 11.38 kB / 0.5738 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.4279, allocations: 18.67 kB / 0.5738 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.155e-05/0.4279, allocations: 162.8 kB / 0.5739 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4279, allocations: 384 / 0.5739 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.428, allocations: 5.859 kB / 0.5739 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4281, allocations: 39.52 kB / 0.574 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4281, allocations: 0.8125 kB / 0.574 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4281, allocations: 5.281 kB / 0.574 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.4281, allocations: 3.156 kB / 0.574 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.448e-05/0.4282, allocations: 9.406 kB / 0.574 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.429e-05/0.4283, allocations: 148.3 kB / 0.5741 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.06e-05/0.4284, allocations: 21.59 kB / 0.5742 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.4284, allocations: 10.06 kB / 0.5742 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4285, allocations: 1.688 kB / 0.5742 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.4285, allocations: 40.45 kB / 0.5742 GB, free: 29.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.4285, allocations: 0.5 kB / 0.5742 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002184/0.4287, allocations: 53.84 kB / 0.5743 GB, free: 29.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.4287, allocations: 51.91 kB / 0.5743 GB, free: 29.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.723e-05/0.4288, allocations: 93.09 kB / 0.5744 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.4288, allocations: 26.77 kB / 0.5744 GB, free: 29.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-06/0.4288, allocations: 80.14 kB / 0.5745 GB, free: 29.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.4288, allocations: 5.094 kB / 0.5745 GB, free: 29.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.4289, allocations: 11.75 kB / 0.5745 GB, free: 29.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.358e-05/0.4289, allocations: 318 kB / 0.5748 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.474e-05/0.429, allocations: 8.312 kB / 0.5748 GB, free: 28.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.429, allocations: 10.41 kB / 0.5748 GB, free: 28.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.4291, allocations: 20.45 kB / 0.5749 GB, free: 28.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4291, allocations: 1.875 kB / 0.5749 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.4292, allocations: 40.58 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4292, allocations: 7.656 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4293, allocations: 1.469 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4293, allocations: 3.938 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.4293, allocations: 6.234 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4293, allocations: 0.6562 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.4294, allocations: 2.844 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4294, allocations: 2.078 kB / 0.5749 GB, free: 28.93 MB / 446.1 MB 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 3.985e-05/0.4294, allocations: 113.3 kB / 0.575 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.4295, allocations: 1.594 kB / 0.575 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.4295, allocations: 8.984 kB / 0.575 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4295, allocations: 1.5 kB / 0.575 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4295, allocations: 0 / 0.575 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4295, allocations: 3.5 kB / 0.575 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.559e-05/0.4296, allocations: 145.1 kB / 0.5752 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4296, allocations: 4.641 kB / 0.5752 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.4296, allocations: 4.562 kB / 0.5752 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4296, allocations: 0 / 0.5752 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4296, allocations: 8.578 kB / 0.5752 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4296, allocations: 1.469 kB / 0.5752 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4296, allocations: 4.578 kB / 0.5752 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.4298, allocations: 67.17 kB / 0.5753 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.4298, allocations: 78.98 kB / 0.5753 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4298, allocations: 6.047 kB / 0.5753 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.4298, allocations: 2.203 kB / 0.5753 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.4298, allocations: 2.531 kB / 0.5754 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4299, allocations: 1.469 kB / 0.5754 GB, free: 28.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.039e-05/0.4299, allocations: 75.28 kB / 0.5754 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4299, allocations: 0 / 0.5754 GB, free: 28.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001652/0.43, allocations: 2.906 kB / 0.5754 GB, free: 28.36 MB / 446.1 MB 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 7.828e-05/0.4301, allocations: 98.16 kB / 0.5755 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.4303, allocations: 15.91 kB / 0.5755 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4303, allocations: 4.5 kB / 0.5755 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.4303, allocations: 13.61 kB / 0.5756 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.4305, allocations: 3.656 kB / 0.5756 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.4307, allocations: 83.92 kB / 0.5756 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.4308, allocations: 0.6711 MB / 0.5763 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.4308, allocations: 2.719 kB / 0.5763 GB, free: 27.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.4309, allocations: 9.188 kB / 0.5763 GB, free: 27.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4309, allocations: 1.938 kB / 0.5763 GB, free: 27.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002262/0.4331, allocations: 220.1 kB / 0.5765 GB, free: 27.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)