Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.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.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate",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.001394/0.001394, allocations: 104.8 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.001549/0.001549, allocations: 190.9 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7273/0.7273, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3227, allocations: 77.93 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Interpolate): time 0.002422/0.3252, allocations: 1.447 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3263, allocations: 0.7752 MB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.3264, allocations: 1.188 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3266, allocations: 133.1 kB / 0.5696 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.3272, allocations: 186.4 kB / 0.5698 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.3274, allocations: 75.47 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.3275, allocations: 64.69 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.3276, allocations: 6.625 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.3276, allocations: 42.28 kB / 0.5699 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3277, allocations: 78.92 kB / 0.57 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3278, allocations: 4.562 kB / 0.57 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.3281, allocations: 225.8 kB / 0.5702 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3282, allocations: 110.6 kB / 0.5703 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.3283, allocations: 98 kB / 0.5704 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.3287, allocations: 344.6 kB / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3287, allocations: 2 kB / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3287, allocations: 0 / 0.5708 GB, free: 30.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3287, allocations: 0 / 0.5708 GB, free: 30.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006618/0.3294, allocations: 0.6151 MB / 0.5714 GB, free: 30.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3294, allocations: 10.5 kB / 0.5714 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.263e-05/0.3295, allocations: 31.91 kB / 0.5714 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.3295, allocations: 31.12 kB / 0.5714 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.3303, allocations: 0.9177 MB / 0.5723 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3303, allocations: 5.344 kB / 0.5723 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3303, allocations: 5.969 kB / 0.5723 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3305, allocations: 91.25 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3305, allocations: 0 / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3306, allocations: 1.062 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3306, allocations: 1.219 kB / 0.5724 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.3308, allocations: 99.31 kB / 0.5725 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.3315, allocations: 0.5802 MB / 0.5731 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.3316, allocations: 111 kB / 0.5732 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3318, allocations: 53.27 kB / 0.5732 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.3318, allocations: 24.53 kB / 0.5733 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.3318, allocations: 40.73 kB / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3318, allocations: 0.5 kB / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004341/0.3323, allocations: 212.9 kB / 0.5735 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.3323, allocations: 56.5 kB / 0.5736 GB, free: 29.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3334, allocations: 1.208 MB / 0.5747 GB, free: 28.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.3334, allocations: 28.3 kB / 0.5748 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.3335, allocations: 178.4 kB / 0.5749 GB, free: 28.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.3335, allocations: 6.547 kB / 0.5749 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.3336, allocations: 17.12 kB / 0.575 GB, free: 28.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.3336, allocations: 348.7 kB / 0.5753 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3337, allocations: 52.59 kB / 0.5753 GB, free: 28.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.3339, allocations: 51.31 kB / 0.5754 GB, free: 28.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.3341, allocations: 104.9 kB / 0.5755 GB, free: 28.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3341, allocations: 0 / 0.5755 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002727/0.3343, allocations: 168.5 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3344, allocations: 8.125 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3344, allocations: 1 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3344, allocations: 0.6562 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3345, allocations: 9.922 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3345, allocations: 0 / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.3346, allocations: 10 kB / 0.5757 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3346, allocations: 1.25 kB / 0.5757 GB, free: 28.24 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 (2): * Single equations (assignments): 2 * 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 0.0001213/0.3347, allocations: 172.2 kB / 0.5759 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.3348, allocations: 31.34 kB / 0.5759 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.3351, allocations: 171.4 kB / 0.576 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.3351, allocations: 0 / 0.576 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3352, allocations: 4.875 kB / 0.576 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3352, allocations: 0.5625 kB / 0.5761 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3354, allocations: 296.7 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3354, allocations: 1.125 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.3355, allocations: 12.83 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3355, allocations: 1.438 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3355, allocations: 0.7188 kB / 0.5763 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3355, allocations: 2.078 kB / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3355, allocations: 0 / 0.5764 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.3358, allocations: 265.1 kB / 0.5766 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.3359, allocations: 125.3 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.336, allocations: 0.7031 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3361, allocations: 7.5 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.3361, allocations: 8.438 kB / 0.5767 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.3361, allocations: 5.344 kB / 0.5767 GB, free: 27.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009118/0.3371, allocations: 0.9499 MB / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3371, allocations: 0 / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.3375, allocations: 78.23 kB / 0.5777 GB, free: 27.21 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 (2): * Single equations (assignments): 2 * 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.0006716/0.3382, allocations: 0.8482 MB / 0.5786 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3385, allocations: 105.3 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3385, allocations: 2.438 kB / 0.5787 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3386, allocations: 57.3 kB / 0.5787 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.339, allocations: 23.41 kB / 0.5788 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/0.3453, allocations: 6.837 MB / 0.5854 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.3456, allocations: 0.7787 MB / 0.5862 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.86e-05/0.3456, allocations: 44.17 kB / 0.5862 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.3457, allocations: 92.56 kB / 0.5863 GB, free: 22.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3458, allocations: 0 / 0.5863 GB, free: 22.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.372, allocations: 7.047 MB / 0.5932 GB, free: 15.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.819, allocations: 7.109 kB / 0.5932 GB, free: 15.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Interpolate.pipe 2>&1)