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.00146/0.00146, allocations: 103.7 kB / 16.27 MB, free: 5.93 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.001782/0.001782, allocations: 190 kB / 17.2 MB, free: 5.574 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7505/0.7505, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3274, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00221/0.3296, allocations: 0.6029 MB / 0.5679 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3319, allocations: 1.43 MB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.332, allocations: 0.6875 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/0.332, allocations: 5.031 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.3321, allocations: 6.984 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.333, allocations: 212 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3331, allocations: 40.34 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.3332, allocations: 3.141 kB / 0.5695 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.3332, allocations: 13.58 kB / 0.5696 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.3333, allocations: 26.36 kB / 0.5696 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3333, allocations: 3.094 kB / 0.5696 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005067/0.3338, allocations: 244.2 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.3339, allocations: 6.531 kB / 0.5698 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.334, allocations: 22.8 kB / 0.5698 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.3344, allocations: 210.8 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3344, allocations: 0.75 kB / 0.57 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3344, allocations: 5.438 kB / 0.57 GB, free: 31.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3344, allocations: 0.5 kB / 0.5701 GB, free: 31.08 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.0004028/0.3348, allocations: 404.8 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.3349, allocations: 11.03 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.3349, allocations: 32.64 kB / 0.5705 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.335, allocations: 7.188 kB / 0.5705 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.3351, allocations: 168.6 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.3351, allocations: 1.562 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3351, allocations: 3.688 kB / 0.5707 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3353, allocations: 77.95 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3353, allocations: 1.25 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3353, allocations: 5.828 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3354, allocations: 1 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.316e-05/0.3354, allocations: 36.12 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3356, allocations: 160 kB / 0.5709 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3357, allocations: 64 kB / 0.571 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.3358, allocations: 49.97 kB / 0.571 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.3358, allocations: 4.906 kB / 0.571 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3359, allocations: 40.53 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.3359, allocations: 0.9375 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000425/0.3363, allocations: 189.4 kB / 0.5713 GB, free: 30 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3364, allocations: 83.12 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.3365, allocations: 111.7 kB / 0.5714 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3365, allocations: 26.98 kB / 0.5715 GB, free: 29.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.3365, allocations: 86.36 kB / 0.5715 GB, free: 29.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.3366, allocations: 26.02 kB / 0.5716 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3366, allocations: 19.88 kB / 0.5716 GB, free: 29.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.3367, allocations: 319.2 kB / 0.5719 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.3368, allocations: 40.39 kB / 0.5719 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.3369, allocations: 40.98 kB / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3371, allocations: 140.9 kB / 0.5721 GB, free: 29.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3371, allocations: 6.312 kB / 0.5721 GB, free: 29.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002521/0.3374, allocations: 150.9 kB / 0.5723 GB, free: 29.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.3374, allocations: 38.06 kB / 0.5723 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3374, allocations: 6.484 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3375, allocations: 0 / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3375, allocations: 0 / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3375, allocations: 1.969 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3376, allocations: 10.83 kB / 0.5723 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.3377, allocations: 12.19 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 9.685e-05/0.3378, allocations: 148.2 kB / 0.5725 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3378, allocations: 14.47 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.562e-05/0.3378, allocations: 8.734 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3378, allocations: 0 / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3379, allocations: 0.5312 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3379, allocations: 1.75 kB / 0.5725 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.338, allocations: 173.8 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.338, allocations: 1.75 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/0.338, allocations: 3.938 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.338, allocations: 1.125 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.338, allocations: 4.109 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.338, allocations: 1.312 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3381, allocations: 1.547 kB / 0.5727 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3384, allocations: 191.6 kB / 0.5729 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.3384, allocations: 87.86 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3385, allocations: 5.062 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.3385, allocations: 6.906 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.3385, allocations: 3.234 kB / 0.5729 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3386, allocations: 5.609 kB / 0.573 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.3386, allocations: 96.48 kB / 0.573 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3386, allocations: 0 / 0.573 GB, free: 28.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005074/0.3392, allocations: 76.25 kB / 0.5731 GB, free: 28.44 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.0007748/0.3399, allocations: 0.7897 MB / 0.5739 GB, free: 27.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.3403, allocations: 201.5 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3403, allocations: 1.375 kB / 0.5741 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.3404, allocations: 157.2 kB / 0.5742 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3407, allocations: 5 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.0005683/0.3413, allocations: 218.1 kB / 0.5744 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.3414, allocations: 0.6894 MB / 0.5751 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.3414, allocations: 1.062 kB / 0.5751 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.3415, allocations: 13.36 kB / 0.5751 GB, free: 26.71 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3415, allocations: 0 / 0.5751 GB, free: 26.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.3658, allocations: 3.09 MB / 0.5782 GB, free: 26.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.805, allocations: 3.438 kB / 0.5782 GB, free: 26.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)