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.001525/0.001524, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 210.1 kB / 16.79 MB, free: 6.84 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6614/0.6614, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.12 kB / 493 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1223, allocations: 76.19 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002364/0.1247, allocations: 1.545 MB / 0.5574 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.126, allocations: 0.7636 MB / 0.5581 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.1261, allocations: 0 / 0.5581 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1264, allocations: 131.8 kB / 0.5582 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.44e-05/0.1265, allocations: 67.83 kB / 0.5583 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.127, allocations: 143.7 kB / 0.5584 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.1271, allocations: 59.88 kB / 0.5585 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.1271, allocations: 4 kB / 0.5585 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.1272, allocations: 39.83 kB / 0.5585 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1273, allocations: 79.84 kB / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1273, allocations: 0 / 0.5586 GB, free: 7.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000364/0.1277, allocations: 219.7 kB / 0.5588 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.503e-05/0.1278, allocations: 63.81 kB / 0.5589 GB, free: 7.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.1279, allocations: 55.48 kB / 0.5589 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.1282, allocations: 271.5 kB / 0.5592 GB, free: 7.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1282, allocations: 0 / 0.5592 GB, free: 7.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1283, allocations: 0 / 0.5592 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1283, allocations: 0 / 0.5592 GB, free: 7.254 MB / 430.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.0006806/0.1289, allocations: 0.4983 MB / 0.5597 GB, free: 6.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.129, allocations: 8.031 kB / 0.5597 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.129, allocations: 34.69 kB / 0.5597 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.1291, allocations: 20.66 kB / 0.5597 GB, free: 6.637 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1293, allocations: 267.7 kB / 0.56 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1294, allocations: 4.375 kB / 0.56 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1294, allocations: 4.359 kB / 0.56 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1296, allocations: 81.78 kB / 0.5601 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1296, allocations: 0 / 0.5601 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.1296, allocations: 0 / 0.5601 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1296, allocations: 0 / 0.5601 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.1298, allocations: 83.94 kB / 0.5602 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.1303, allocations: 404.7 kB / 0.5606 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1304, allocations: 86.53 kB / 0.5606 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1305, allocations: 44.89 kB / 0.5607 GB, free: 5.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.1306, allocations: 23.91 kB / 0.5607 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1306, allocations: 38.56 kB / 0.5607 GB, free: 5.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1306, allocations: 0 / 0.5607 GB, free: 5.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003813/0.131, allocations: 177.3 kB / 0.5609 GB, free: 5.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.131, allocations: 55.39 kB / 0.561 GB, free: 5.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.1314, allocations: 351.2 kB / 0.5613 GB, free: 4.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1314, allocations: 25.83 kB / 0.5613 GB, free: 4.883 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.1315, allocations: 136.1 kB / 0.5615 GB, free: 4.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1315, allocations: 7.906 kB / 0.5615 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.1316, allocations: 33.62 kB / 0.5615 GB, free: 4.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1317, allocations: 342.8 kB / 0.5618 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1319, allocations: 95.94 kB / 0.5619 GB, free: 4.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.132, allocations: 95.89 kB / 0.562 GB, free: 4.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1323, allocations: 214.6 kB / 0.5622 GB, free: 3.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1324, allocations: 0 / 0.5622 GB, free: 3.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003512/0.1327, allocations: 249.2 kB / 0.5624 GB, free: 3.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1327, allocations: 6.188 kB / 0.5625 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1327, allocations: 0 / 0.5625 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1328, allocations: 0 / 0.5625 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.1329, allocations: 11.98 kB / 0.5625 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1329, allocations: 4 kB / 0.5625 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.1329, allocations: 15.83 kB / 0.5625 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.133, allocations: 4 kB / 0.5625 GB, free: 3.668 MB / 430.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 0.0001104/0.1331, allocations: 145.8 kB / 0.5626 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.1331, allocations: 19.72 kB / 0.5626 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.1334, allocations: 146.5 kB / 0.5628 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1334, allocations: 4.031 kB / 0.5628 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1334, allocations: 0 / 0.5628 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1334, allocations: 0 / 0.5628 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1336, allocations: 245.5 kB / 0.563 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1336, allocations: 0 / 0.563 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.1337, allocations: 11.98 kB / 0.563 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1337, allocations: 0 / 0.563 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.1337, allocations: 0 / 0.563 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1337, allocations: 0 / 0.563 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1337, allocations: 0 / 0.563 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.134, allocations: 243.1 kB / 0.5633 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.1341, allocations: 104.8 kB / 0.5634 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1341, allocations: 0 / 0.5634 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.1342, allocations: 4 kB / 0.5634 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.1342, allocations: 7.922 kB / 0.5634 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1342, allocations: 0 / 0.5634 GB, free: 2.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.1344, allocations: 253.9 kB / 0.5636 GB, free: 2.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1344, allocations: 0 / 0.5636 GB, free: 2.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000307/0.1348, allocations: 67.98 kB / 0.5637 GB, free: 2.34 MB / 430.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.0006963/0.1355, allocations: 0.8176 MB / 0.5645 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1358, allocations: 167.8 kB / 0.5646 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1358, allocations: 0 / 0.5646 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1359, allocations: 47.95 kB / 0.5647 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1362, allocations: 16.59 kB / 0.5647 GB, free: 1.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1388, allocations: 2.729 MB / 0.5674 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1391, allocations: 0.7397 MB / 0.5681 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.717e-05/0.1392, allocations: 16.55 kB / 0.5681 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.1392, allocations: 51.42 kB / 0.5682 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1392, allocations: 0 / 0.5682 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/0.3818, allocations: 4.045 MB / 0.5721 GB, free: 9.715 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.382, allocations: 208.2 kB / 0.5723 GB, free: 9.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.349, allocations: 0 / 0.5723 GB, free: 9.457 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)