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.001114/0.001118, allocations: 104.4 kB / 16.52 MB, free: 6.664 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.001234/0.001234, allocations: 195.2 kB / 17.44 MB, free: 6.047 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 / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7977/0.7977, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.91 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.35, allocations: 76.17 MB / 0.5564 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001707/0.3517, allocations: 0.6686 MB / 0.557 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3534, allocations: 1.468 MB / 0.5585 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.3534, allocations: 0 / 0.5585 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.272e-05/0.3535, allocations: 2.594 kB / 0.5585 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.3535, allocations: 2.531 kB / 0.5585 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.3541, allocations: 165.6 kB / 0.5586 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.3542, allocations: 32.86 kB / 0.5587 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.3542, allocations: 2.719 kB / 0.5587 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.089e-05/0.3542, allocations: 22.3 kB / 0.5587 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.3543, allocations: 21.27 kB / 0.5587 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3543, allocations: 2.656 kB / 0.5587 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.3547, allocations: 239.6 kB / 0.5589 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.3547, allocations: 4.766 kB / 0.5589 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3548, allocations: 17.48 kB / 0.559 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.355, allocations: 147.7 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.355, allocations: 2.062 kB / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.355, allocations: 0 / 0.5591 GB, free: 33.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.355, allocations: 0 / 0.5591 GB, free: 33.85 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.0003275/0.3553, allocations: 399.9 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3554, allocations: 14.88 kB / 0.5595 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.3554, allocations: 10.84 kB / 0.5595 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.3555, allocations: 174.8 kB / 0.5597 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3555, allocations: 3.25 kB / 0.5597 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3555, allocations: 2.469 kB / 0.5597 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3557, allocations: 80.22 kB / 0.5598 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.3557, allocations: 0 / 0.5598 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3557, allocations: 6.891 kB / 0.5598 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3557, allocations: 1 kB / 0.5598 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.3558, allocations: 35.16 kB / 0.5598 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.787e-05/0.3559, allocations: 164.5 kB / 0.56 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.356, allocations: 64.73 kB / 0.56 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.742e-05/0.356, allocations: 48.61 kB / 0.5601 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.3561, allocations: 1.125 kB / 0.5601 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3561, allocations: 39.88 kB / 0.5601 GB, free: 32.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3561, allocations: 0.5312 kB / 0.5601 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002918/0.3564, allocations: 189.2 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3564, allocations: 84.23 kB / 0.5604 GB, free: 32.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.3565, allocations: 110.7 kB / 0.5605 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.3565, allocations: 27.14 kB / 0.5605 GB, free: 32.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.3565, allocations: 92.42 kB / 0.5606 GB, free: 32.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3566, allocations: 25.69 kB / 0.5606 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3566, allocations: 17.78 kB / 0.5606 GB, free: 32.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.3567, allocations: 319.7 kB / 0.5609 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.703e-05/0.3567, allocations: 36.3 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.3568, allocations: 33.11 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3569, allocations: 146.2 kB / 0.5611 GB, free: 32.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3569, allocations: 0 / 0.5611 GB, free: 32.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001768/0.3571, allocations: 151.3 kB / 0.5613 GB, free: 31.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.3572, allocations: 41.25 kB / 0.5613 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3572, allocations: 1.406 kB / 0.5613 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3572, allocations: 1.375 kB / 0.5613 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3572, allocations: 0 / 0.5613 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3572, allocations: 0 / 0.5613 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3573, allocations: 16.14 kB / 0.5613 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3573, allocations: 10.69 kB / 0.5613 GB, free: 31.92 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 6.919e-05/0.3574, allocations: 145.3 kB / 0.5615 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.3574, allocations: 16.03 kB / 0.5615 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.3575, allocations: 8.906 kB / 0.5615 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3575, allocations: 0 / 0.5615 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3575, allocations: 7.906 kB / 0.5615 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3575, allocations: 0 / 0.5615 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.295e-05/0.3576, allocations: 173.4 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3576, allocations: 0 / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3576, allocations: 1.438 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3576, allocations: 3.938 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3576, allocations: 6.969 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3576, allocations: 1.531 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3576, allocations: 0.5625 kB / 0.5617 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3578, allocations: 198.3 kB / 0.5619 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3578, allocations: 86.64 kB / 0.562 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3579, allocations: 2.938 kB / 0.562 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.543e-05/0.3579, allocations: 7.422 kB / 0.562 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.3579, allocations: 4.156 kB / 0.562 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.358, allocations: 6.656 kB / 0.562 GB, free: 31.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.358, allocations: 94.89 kB / 0.5621 GB, free: 31.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.358, allocations: 1.688 kB / 0.5621 GB, free: 31.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.3583, allocations: 73.45 kB / 0.5621 GB, free: 31.24 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.0002864/0.3586, allocations: 157 kB / 0.5623 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.3589, allocations: 202.5 kB / 0.5625 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3589, allocations: 2.406 kB / 0.5625 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.359, allocations: 151.7 kB / 0.5626 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.3591, allocations: 7.703 kB / 0.5626 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.3594, allocations: 204.6 kB / 0.5628 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3595, allocations: 0.685 MB / 0.5635 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-06/0.3595, allocations: 7.438 kB / 0.5635 GB, free: 30.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3596, allocations: 0 / 0.5635 GB, free: 30.07 MB / 446.1 MB Notification: Performance of Templates: time 0.003826/0.3634, allocations: 1.714 MB / 0.5652 GB, free: 30.02 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)