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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 105.8 kB / 16.27 MB, free: 6.105 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.001111/0.00111, allocations: 186 kB / 17.2 MB, free: 5.719 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.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 63.91 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3512, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001718/0.353, allocations: 0.6052 MB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3546, allocations: 1.431 MB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.3546, allocations: 1.031 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.3547, allocations: 4.469 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.3547, allocations: 2.438 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.3555, allocations: 213.3 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.3556, allocations: 35.8 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3556, allocations: 12.45 kB / 0.5695 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.3557, allocations: 9.625 kB / 0.5695 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.3557, allocations: 27.25 kB / 0.5696 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.3557, allocations: 2.062 kB / 0.5696 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.3562, allocations: 252.7 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.3562, allocations: 5.906 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.3563, allocations: 18.36 kB / 0.5698 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.3566, allocations: 211.2 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3566, allocations: 2.438 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3566, allocations: 0 / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3567, allocations: 3.938 kB / 0.57 GB, free: 31.09 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.0003536/0.357, allocations: 405.1 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3571, allocations: 11.27 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.3571, allocations: 41.86 kB / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3571, allocations: 4.656 kB / 0.5705 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.3572, allocations: 169 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.3572, allocations: 1.5 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.3572, allocations: 3.156 kB / 0.5707 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3574, allocations: 76.59 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.3574, allocations: 0.7031 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3574, allocations: 2.094 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3574, allocations: 0 / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.3575, allocations: 45.23 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.3576, allocations: 160.2 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.3577, allocations: 59.33 kB / 0.571 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.3578, allocations: 53.91 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-06/0.3578, allocations: 1.406 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.3578, allocations: 36.81 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.3578, allocations: 0 / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002734/0.3581, allocations: 189.6 kB / 0.5712 GB, free: 30.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.3581, allocations: 84.81 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.3582, allocations: 117.9 kB / 0.5714 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3582, allocations: 25.7 kB / 0.5715 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.3582, allocations: 88.22 kB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3582, allocations: 21.41 kB / 0.5716 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3583, allocations: 24.31 kB / 0.5716 GB, free: 29.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.3583, allocations: 314.8 kB / 0.5719 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.687e-05/0.3584, allocations: 40.59 kB / 0.5719 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.3584, allocations: 36.61 kB / 0.572 GB, free: 29.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3586, allocations: 141.7 kB / 0.5721 GB, free: 29.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3586, allocations: 0 / 0.5721 GB, free: 29.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001721/0.3588, allocations: 163.4 kB / 0.5723 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.3588, allocations: 37.14 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3588, allocations: 1.375 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3588, allocations: 5.406 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.3588, allocations: 0.7031 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3588, allocations: 0 / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.3589, allocations: 9.266 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3589, allocations: 5.422 kB / 0.5723 GB, free: 29.12 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.899e-05/0.359, allocations: 151.8 kB / 0.5725 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.359, allocations: 11.75 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.113e-05/0.3591, allocations: 8.094 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3591, allocations: 0 / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3591, allocations: 1.031 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.3591, allocations: 0.9375 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.05e-05/0.3592, allocations: 168.8 kB / 0.5726 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3592, allocations: 0 / 0.5726 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-06/0.3592, allocations: 9.5 kB / 0.5727 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3592, allocations: 1.297 kB / 0.5727 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3592, allocations: 3.922 kB / 0.5727 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3592, allocations: 1.438 kB / 0.5727 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3592, allocations: 1.594 kB / 0.5727 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3594, allocations: 197.8 kB / 0.5728 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3594, allocations: 88.45 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3595, allocations: 2.844 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.3595, allocations: 6.797 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.3595, allocations: 8.781 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3595, allocations: 5.688 kB / 0.573 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.3596, allocations: 91.81 kB / 0.573 GB, free: 28.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3596, allocations: 0.625 kB / 0.573 GB, free: 28.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.36, allocations: 70.19 kB / 0.5731 GB, free: 28.45 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.0005595/0.3605, allocations: 0.7962 MB / 0.5739 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3608, allocations: 203.1 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3608, allocations: 0 / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3609, allocations: 152.4 kB / 0.5742 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.3611, allocations: 9.188 kB / 0.5742 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.3615, allocations: 215.5 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.547e-05/0.3616, allocations: 0.6902 MB / 0.5751 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.3616, allocations: 1.859 kB / 0.5751 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.3616, allocations: 12.14 kB / 0.5751 GB, free: 26.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3616, allocations: 0.5 kB / 0.5751 GB, free: 26.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.379, allocations: 3.079 MB / 0.5781 GB, free: 26.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.499, allocations: 10.91 kB / 0.5781 GB, free: 26.17 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)