Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001048/0.001048, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001074/0.001074, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7412/0.7412, allocations: 115.3 MB / 406.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 71.88 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4237, allocations: 76.17 MB / 0.556 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002213/0.4259, allocations: 1.543 MB / 0.5575 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.4268, allocations: 0.7414 MB / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4269, allocations: 0 / 0.5583 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.4271, allocations: 132.9 kB / 0.5584 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.4271, allocations: 67.72 kB / 0.5585 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.4276, allocations: 158.8 kB / 0.5586 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.4277, allocations: 69.62 kB / 0.5587 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.595e-05/0.4277, allocations: 2.5 kB / 0.5587 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.4278, allocations: 42.61 kB / 0.5587 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.4279, allocations: 81.17 kB / 0.5588 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.4279, allocations: 3.375 kB / 0.5588 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.4282, allocations: 218.1 kB / 0.559 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.4283, allocations: 66.31 kB / 0.5591 GB, free: 34.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.4283, allocations: 58.83 kB / 0.5591 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.4287, allocations: 267.9 kB / 0.5594 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4287, allocations: 1 kB / 0.5594 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4287, allocations: 5.531 kB / 0.5594 GB, free: 34.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.4287, allocations: 0.625 kB / 0.5594 GB, free: 34.43 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.0004704/0.4292, allocations: 0.5009 MB / 0.5599 GB, free: 33.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.4292, allocations: 9.875 kB / 0.5599 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.019e-05/0.4292, allocations: 31.45 kB / 0.5599 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.4293, allocations: 27.41 kB / 0.5599 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4294, allocations: 255 kB / 0.5602 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.4294, allocations: 1.625 kB / 0.5602 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4295, allocations: 4 kB / 0.5602 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4296, allocations: 78.95 kB / 0.5603 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.4296, allocations: 1.406 kB / 0.5603 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.4297, allocations: 2.688 kB / 0.5603 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.4297, allocations: 0.7969 kB / 0.5603 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.4299, allocations: 88.7 kB / 0.5604 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.4303, allocations: 397.7 kB / 0.5607 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.4304, allocations: 90.12 kB / 0.5608 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.4306, allocations: 54.84 kB / 0.5609 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.4306, allocations: 21.17 kB / 0.5609 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.4306, allocations: 34.28 kB / 0.5609 GB, free: 33.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4306, allocations: 0 / 0.5609 GB, free: 33.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.431, allocations: 178.7 kB / 0.5611 GB, free: 33.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.431, allocations: 53.14 kB / 0.5611 GB, free: 33.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4314, allocations: 355.9 kB / 0.5615 GB, free: 32.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4314, allocations: 32.86 kB / 0.5615 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.4315, allocations: 137.5 kB / 0.5616 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.4315, allocations: 7.234 kB / 0.5617 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.4315, allocations: 30.41 kB / 0.5617 GB, free: 32.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.4316, allocations: 338.2 kB / 0.562 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4317, allocations: 95.83 kB / 0.5621 GB, free: 32.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.4319, allocations: 94.53 kB / 0.5622 GB, free: 32.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.4322, allocations: 213.5 kB / 0.5624 GB, free: 32.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4322, allocations: 1.188 kB / 0.5624 GB, free: 32.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003456/0.4325, allocations: 251.6 kB / 0.5626 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4325, allocations: 5.312 kB / 0.5626 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4326, allocations: 6.188 kB / 0.5626 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.4326, allocations: 0 / 0.5626 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.4327, allocations: 9.641 kB / 0.5626 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.4327, allocations: 0 / 0.5626 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.4327, allocations: 20.83 kB / 0.5627 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4327, allocations: 1.719 kB / 0.5627 GB, free: 32.33 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 8.978e-05/0.4328, allocations: 146.4 kB / 0.5628 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4329, allocations: 20.78 kB / 0.5628 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4332, allocations: 144.7 kB / 0.563 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4332, allocations: 1.094 kB / 0.563 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4332, allocations: 0.7969 kB / 0.563 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.4332, allocations: 0.5625 kB / 0.563 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.4334, allocations: 244.7 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4334, allocations: 0.6562 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.4334, allocations: 9.453 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4335, allocations: 0.9688 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4335, allocations: 6.266 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4335, allocations: 0 / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4335, allocations: 1.156 kB / 0.5632 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.4337, allocations: 239.1 kB / 0.5635 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.4338, allocations: 104.4 kB / 0.5635 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.4338, allocations: 0.5156 kB / 0.5636 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.4339, allocations: 7.547 kB / 0.5636 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.434, allocations: 1.906 kB / 0.5636 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.434, allocations: 5.25 kB / 0.5636 GB, free: 31.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.4342, allocations: 250.8 kB / 0.5638 GB, free: 31.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4342, allocations: 0 / 0.5638 GB, free: 31.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000324/0.4345, allocations: 67.23 kB / 0.5639 GB, free: 31.55 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.0005564/0.4351, allocations: 0.8124 MB / 0.5647 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.4354, allocations: 163.6 kB / 0.5648 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4354, allocations: 4.625 kB / 0.5648 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.4355, allocations: 48.44 kB / 0.5649 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4358, allocations: 18.67 kB / 0.5649 GB, free: 30.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.4383, allocations: 2.734 MB / 0.5676 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4384, allocations: 0.7358 MB / 0.5683 GB, free: 28.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.4385, allocations: 21.75 kB / 0.5683 GB, free: 28.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.4386, allocations: 53.94 kB / 0.5683 GB, free: 28.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4386, allocations: 0 / 0.5683 GB, free: 28.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.476, allocations: 4.111 MB / 0.5724 GB, free: 28.21 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/1.476, allocations: 207.2 kB / 0.5726 GB, free: 27.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/3.174, allocations: 3.938 kB / 0.5726 GB, free: 27.96 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Interpolate.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1)