Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.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.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.00124, allocations: 107.2 kB / 17.02 MB, free: 6.094 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.001157/0.001157, allocations: 196.1 kB / 17.97 MB, free: 5.191 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7188/0.7188, allocations: 115.1 MB / 406.9 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.09 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3533, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001623/0.355, allocations: 0.598 MB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3567, allocations: 1.43 MB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.3567, allocations: 3.594 kB / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.692e-05/0.3568, allocations: 0 / 0.5596 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.534e-05/0.3568, allocations: 5.797 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007588/0.3576, allocations: 212.3 kB / 0.5598 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3577, allocations: 38.72 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.3578, allocations: 4.078 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.352e-05/0.3578, allocations: 14.14 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.3579, allocations: 23.53 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3579, allocations: 1.062 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.3583, allocations: 249.3 kB / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.3584, allocations: 4.344 kB / 0.5601 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.3584, allocations: 23.05 kB / 0.5601 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.3588, allocations: 219 kB / 0.5603 GB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3588, allocations: 1.062 kB / 0.5603 GB, free: 35.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3588, allocations: 5.156 kB / 0.5603 GB, free: 35.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3588, allocations: 0.6094 kB / 0.5603 GB, free: 35.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003393/0.3591, allocations: 400.8 kB / 0.5607 GB, free: 34.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3592, allocations: 8.594 kB / 0.5607 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3592, allocations: 8.172 kB / 0.5607 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.3593, allocations: 169.1 kB / 0.5609 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.3593, allocations: 2.281 kB / 0.5609 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.3594, allocations: 3.875 kB / 0.5609 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3595, allocations: 80.14 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3595, allocations: 2.234 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3595, allocations: 1.875 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3596, allocations: 0.875 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.3596, allocations: 36.77 kB / 0.561 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.3597, allocations: 163.8 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.3598, allocations: 62.19 kB / 0.5612 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.3599, allocations: 52.34 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.3599, allocations: 0.6562 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3599, allocations: 39.78 kB / 0.5613 GB, free: 34.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.3599, allocations: 3.891 kB / 0.5613 GB, free: 34.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003169/0.3603, allocations: 190.4 kB / 0.5615 GB, free: 34.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.3603, allocations: 81.31 kB / 0.5616 GB, free: 33.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.3604, allocations: 117.3 kB / 0.5617 GB, free: 33.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3604, allocations: 27.17 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.3604, allocations: 82.12 kB / 0.5618 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.3604, allocations: 26.59 kB / 0.5618 GB, free: 33.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.3605, allocations: 18.86 kB / 0.5618 GB, free: 33.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.3605, allocations: 319.2 kB / 0.5621 GB, free: 33.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.3606, allocations: 40 kB / 0.5622 GB, free: 33.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.3607, allocations: 36.64 kB / 0.5622 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3608, allocations: 143.8 kB / 0.5623 GB, free: 33.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3608, allocations: 5.531 kB / 0.5624 GB, free: 33.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001715/0.361, allocations: 146.8 kB / 0.5625 GB, free: 33.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.361, allocations: 44.31 kB / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.361, allocations: 0 / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3611, allocations: 2.062 kB / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.3611, allocations: 0 / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3611, allocations: 1.312 kB / 0.5625 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.3612, allocations: 11.91 kB / 0.5626 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3612, allocations: 6.281 kB / 0.5626 GB, free: 33.15 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.211e-05/0.3613, allocations: 149.8 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3613, allocations: 9.719 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.042e-05/0.3613, allocations: 11.69 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3613, allocations: 0.75 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3613, allocations: 1.812 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3613, allocations: 1.594 kB / 0.5627 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.369e-05/0.3614, allocations: 167.7 kB / 0.5629 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3614, allocations: 5.375 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3614, allocations: 0 / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3614, allocations: 4.531 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3615, allocations: 3.844 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3615, allocations: 1.797 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3615, allocations: 1.125 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3617, allocations: 204.7 kB / 0.5631 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.3617, allocations: 86.69 kB / 0.5632 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3617, allocations: 4.406 kB / 0.5632 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.3618, allocations: 6.719 kB / 0.5632 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.3618, allocations: 4.328 kB / 0.5632 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3618, allocations: 6.516 kB / 0.5632 GB, free: 32.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.237e-05/0.3618, allocations: 91.23 kB / 0.5633 GB, free: 32.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3619, allocations: 1.031 kB / 0.5633 GB, free: 32.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.3622, allocations: 77.25 kB / 0.5634 GB, free: 32.47 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002505/0.3624, allocations: 154.2 kB / 0.5635 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3626, allocations: 206.2 kB / 0.5637 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3627, allocations: 1.562 kB / 0.5637 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3628, allocations: 151.7 kB / 0.5639 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.3629, allocations: 5.641 kB / 0.5639 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.3632, allocations: 167.9 kB / 0.564 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.3633, allocations: 0.685 MB / 0.5647 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.97e-06/0.3633, allocations: 0.7188 kB / 0.5647 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-06/0.3633, allocations: 8.688 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3633, allocations: 0.5312 kB / 0.5647 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Templates: time 0.004571/0.3679, allocations: 2.037 MB / 0.5667 GB, free: 31.26 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)