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.001047/0.001047, allocations: 97.64 kB / 16.02 MB, free: 80 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.001187/0.001187, allocations: 181.9 kB / 16.92 MB, free: 6.898 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 123 MB / 415.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 12 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4798, allocations: 79.29 MB / 0.5708 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0007466/0.4805, allocations: 308 kB / 0.5711 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002928/0.4808, allocations: 50.53 kB / 0.5711 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-06/0.4809, allocations: 0 / 0.5711 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.4809, allocations: 1.188 kB / 0.5711 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.4809, allocations: 0 / 0.5711 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.4811, allocations: 13.95 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.294e-05/0.4812, allocations: 2.719 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.4812, allocations: 1.938 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.4812, allocations: 3.219 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.4813, allocations: 1.812 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.4813, allocations: 1.375 kB / 0.5711 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.4814, allocations: 30.48 kB / 0.5712 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.4814, allocations: 1.922 kB / 0.5712 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.4814, allocations: 27.56 kB / 0.5712 GB, free: 9.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.263e-05/0.4815, allocations: 16.59 kB / 0.5712 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4815, allocations: 0 / 0.5712 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4815, allocations: 0 / 0.5712 GB, free: 9.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.4816, allocations: 0.75 kB / 0.5712 GB, free: 9.859 MB / 430.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.0001939/0.4818, allocations: 307.8 kB / 0.5715 GB, free: 9.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4818, allocations: 9.188 kB / 0.5715 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.4821, allocations: 22.36 kB / 0.5715 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.934e-05/0.4821, allocations: 161.9 kB / 0.5717 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4821, allocations: 1.219 kB / 0.5717 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4822, allocations: 1.625 kB / 0.5717 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4823, allocations: 41.17 kB / 0.5717 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4823, allocations: 192 / 0.5717 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4823, allocations: 3.938 kB / 0.5717 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4823, allocations: 1.5 kB / 0.5717 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.4824, allocations: 16.41 kB / 0.5717 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.783e-05/0.4825, allocations: 149.7 kB / 0.5719 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.4826, allocations: 21.27 kB / 0.5719 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.395e-05/0.4827, allocations: 10.16 kB / 0.5719 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4827, allocations: 1.422 kB / 0.5719 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4827, allocations: 36.98 kB / 0.5719 GB, free: 9.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4827, allocations: 0 / 0.5719 GB, free: 9.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002401/0.483, allocations: 52.38 kB / 0.572 GB, free: 8.965 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.483, allocations: 53.66 kB / 0.572 GB, free: 8.902 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.216e-05/0.4831, allocations: 90.52 kB / 0.5721 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.4831, allocations: 25.7 kB / 0.5722 GB, free: 8.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.119e-05/0.4831, allocations: 81.83 kB / 0.5722 GB, free: 8.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.4831, allocations: 10.42 kB / 0.5722 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.4831, allocations: 10.22 kB / 0.5723 GB, free: 8.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.4832, allocations: 312.9 kB / 0.5726 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.923e-05/0.4833, allocations: 5.141 kB / 0.5726 GB, free: 8.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.4833, allocations: 5.859 kB / 0.5726 GB, free: 8.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.403e-05/0.4834, allocations: 17.08 kB / 0.5726 GB, free: 8.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4834, allocations: 8 kB / 0.5726 GB, free: 8.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001196/0.4835, allocations: 40.97 kB / 0.5726 GB, free: 8.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4836, allocations: 4.688 kB / 0.5726 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4836, allocations: 0.9375 kB / 0.5726 GB, free: 8.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4836, allocations: 8.531 kB / 0.5726 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.4837, allocations: 4.625 kB / 0.5726 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4837, allocations: 0.5625 kB / 0.5726 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.4837, allocations: 2.094 kB / 0.5727 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.4837, allocations: 9.625 kB / 0.5727 GB, free: 8.293 MB / 430.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 5.266e-05/0.4838, allocations: 109.6 kB / 0.5728 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-06/0.4838, allocations: 0 / 0.5728 GB, free: 8.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.4838, allocations: 8.5 kB / 0.5728 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4839, allocations: 1.062 kB / 0.5728 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4839, allocations: 3.125 kB / 0.5728 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4839, allocations: 0 / 0.5728 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.55e-05/0.4839, allocations: 147.2 kB / 0.5729 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4839, allocations: 0 / 0.5729 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.484, allocations: 8.641 kB / 0.5729 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.484, allocations: 0.6094 kB / 0.5729 GB, free: 7.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.484, allocations: 4.594 kB / 0.5729 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.484, allocations: 5.875 kB / 0.5729 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.484, allocations: 0 / 0.5729 GB, free: 7.977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.4842, allocations: 64.42 kB / 0.573 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.4842, allocations: 82.84 kB / 0.5731 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4842, allocations: 5.875 kB / 0.5731 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.4842, allocations: 6.25 kB / 0.5731 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-06/0.4843, allocations: 0 / 0.5731 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4843, allocations: 2.531 kB / 0.5731 GB, free: 7.809 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.075e-05/0.4843, allocations: 75.28 kB / 0.5732 GB, free: 7.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4843, allocations: 0 / 0.5732 GB, free: 7.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001808/0.4845, allocations: 1.219 kB / 0.5732 GB, free: 7.734 MB / 430.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 0.0001127/0.4846, allocations: 102.5 kB / 0.5733 GB, free: 7.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.4847, allocations: 14.67 kB / 0.5733 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4848, allocations: 1.219 kB / 0.5733 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.4848, allocations: 7.078 kB / 0.5733 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.485, allocations: 4.344 kB / 0.5733 GB, free: 7.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002118/0.4852, allocations: 86.17 kB / 0.5734 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.824e-05/0.4853, allocations: 0.6752 MB / 0.574 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.691e-05/0.4853, allocations: 3.234 kB / 0.574 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.4853, allocations: 7.438 kB / 0.574 GB, free: 6.836 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4853, allocations: 0 / 0.574 GB, free: 6.836 MB / 430.1 MB Notification: Performance of Templates: time 0.001967/0.4873, allocations: 220 kB / 0.5742 GB, free: 6.797 MB / 430.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)