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.001114/0.001114, allocations: 103.8 kB / 15.98 MB, free: 6.328 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.001244/0.001245, allocations: 185.1 kB / 16.9 MB, free: 6.172 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7761/0.7761, allocations: 122.9 MB / 413.6 MB, free: 16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.4906 GB, free: 7.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3918, allocations: 77.93 MB / 0.5667 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.002052/0.3939, allocations: 0.6305 MB / 0.5674 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.3942, allocations: 56.7 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.3942, allocations: 1.656 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3942, allocations: 0 / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.3942, allocations: 0.875 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.3945, allocations: 7.5 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.3946, allocations: 2.984 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.3946, allocations: 2.219 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.568e-05/0.3946, allocations: 2.906 kB / 0.5674 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.3947, allocations: 4 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.3947, allocations: 1.094 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3948, allocations: 19.95 kB / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3948, allocations: 0 / 0.5674 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.3948, allocations: 11 kB / 0.5675 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.3949, allocations: 10.72 kB / 0.5675 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3949, allocations: 5.156 kB / 0.5675 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3949, allocations: 0 / 0.5675 GB, free: 32.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3949, allocations: 0.9375 kB / 0.5675 GB, free: 32.25 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.0002259/0.3952, allocations: 314.2 kB / 0.5678 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3952, allocations: 10.78 kB / 0.5678 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.3955, allocations: 28.36 kB / 0.5678 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.544e-05/0.3955, allocations: 164.9 kB / 0.568 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3956, allocations: 1.469 kB / 0.568 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.3956, allocations: 1.281 kB / 0.568 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3957, allocations: 36.98 kB / 0.568 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3957, allocations: 1.125 kB / 0.568 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.3957, allocations: 3.938 kB / 0.568 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3958, allocations: 1.25 kB / 0.568 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.3958, allocations: 13.55 kB / 0.568 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.396, allocations: 149.7 kB / 0.5682 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.396, allocations: 25.91 kB / 0.5682 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.3961, allocations: 10.3 kB / 0.5682 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3961, allocations: 2.453 kB / 0.5682 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3961, allocations: 33.19 kB / 0.5682 GB, free: 31.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3961, allocations: 0.9375 kB / 0.5682 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002277/0.3964, allocations: 51.77 kB / 0.5683 GB, free: 31.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.3964, allocations: 52.69 kB / 0.5683 GB, free: 31.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.892e-05/0.3964, allocations: 90.86 kB / 0.5684 GB, free: 31.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3964, allocations: 25.7 kB / 0.5685 GB, free: 31.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.3965, allocations: 85.72 kB / 0.5685 GB, free: 31.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3965, allocations: 5.062 kB / 0.5685 GB, free: 31.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.3965, allocations: 13.52 kB / 0.5685 GB, free: 31.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.3966, allocations: 316.1 kB / 0.5689 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.722e-05/0.3966, allocations: 8.203 kB / 0.5689 GB, free: 30.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.3967, allocations: 8.875 kB / 0.5689 GB, free: 30.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.617e-05/0.3968, allocations: 15.11 kB / 0.5689 GB, free: 30.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3968, allocations: 1 kB / 0.5689 GB, free: 30.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.3969, allocations: 41.86 kB / 0.5689 GB, free: 30.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3969, allocations: 5.531 kB / 0.5689 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3969, allocations: 0 / 0.5689 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3969, allocations: 5.969 kB / 0.5689 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.397, allocations: 7.734 kB / 0.5689 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.397, allocations: 1.953 kB / 0.5689 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.3971, allocations: 3.234 kB / 0.5689 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3971, allocations: 0.6562 kB / 0.5689 GB, free: 30.68 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 4.969e-05/0.3971, allocations: 113.5 kB / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.3972, allocations: 1.125 kB / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.3972, allocations: 7.766 kB / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3972, allocations: 2.469 kB / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3972, allocations: 0 / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3972, allocations: 0.75 kB / 0.5691 GB, free: 30.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.432e-05/0.3973, allocations: 145.2 kB / 0.5692 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3973, allocations: 5.531 kB / 0.5692 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.441e-05/0.3973, allocations: 4.438 kB / 0.5692 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3973, allocations: 2.125 kB / 0.5692 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3974, allocations: 3.938 kB / 0.5692 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3974, allocations: 2.547 kB / 0.5692 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3974, allocations: 4.688 kB / 0.5692 GB, free: 30.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3975, allocations: 66.39 kB / 0.5693 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.3975, allocations: 83.16 kB / 0.5694 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3976, allocations: 6.781 kB / 0.5694 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.3976, allocations: 2.531 kB / 0.5694 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.3976, allocations: 1.375 kB / 0.5694 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3976, allocations: 0 / 0.5694 GB, free: 30.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.727e-05/0.3976, allocations: 77.16 kB / 0.5695 GB, free: 30.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3977, allocations: 0 / 0.5695 GB, free: 30.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001736/0.3978, allocations: 1.656 kB / 0.5695 GB, free: 30.12 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 0.0001098/0.3979, allocations: 99.25 kB / 0.5695 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.3981, allocations: 12.8 kB / 0.5696 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3981, allocations: 0 / 0.5696 GB, free: 30.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.3982, allocations: 14.84 kB / 0.5696 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3983, allocations: 3.969 kB / 0.5696 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.3985, allocations: 86.55 kB / 0.5697 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3987, allocations: 0.6726 MB / 0.5703 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.3987, allocations: 2.375 kB / 0.5703 GB, free: 29.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.3987, allocations: 9.422 kB / 0.5703 GB, free: 29.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3987, allocations: 0 / 0.5703 GB, free: 29.22 MB / 446.1 MB Notification: Performance of Templates: time 0.001749/0.4005, allocations: 224.5 kB / 0.5705 GB, free: 29.18 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)