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.001578/0.001578, allocations: 108.3 kB / 16.41 MB, free: 6.48 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.001741/0.001742, allocations: 193.8 kB / 17.34 MB, free: 5.762 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 69.28 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1474, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Interpolate): time 0.002588/0.1501, allocations: 1.484 MB / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1513, allocations: 0.7284 MB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.1514, allocations: 0 / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1517, allocations: 131.7 kB / 0.6339 GB, free: 2.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.1518, allocations: 79.83 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.1525, allocations: 178.3 kB / 0.6342 GB, free: 2.262 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1526, allocations: 71.8 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.1526, allocations: 0 / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.1527, allocations: 47.81 kB / 0.6343 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1528, allocations: 79.86 kB / 0.6344 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1529, allocations: 0 / 0.6344 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.1533, allocations: 235.7 kB / 0.6346 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1534, allocations: 59.83 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.1535, allocations: 55.48 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1538, allocations: 274 kB / 0.635 GB, free: 1.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1538, allocations: 0 / 0.635 GB, free: 1.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1538, allocations: 4 kB / 0.635 GB, free: 1.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1539, allocations: 0 / 0.635 GB, free: 1.453 MB / 478.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.0006566/0.1545, allocations: 0.503 MB / 0.6355 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1546, allocations: 8.031 kB / 0.6355 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1546, allocations: 34.73 kB / 0.6355 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1547, allocations: 20.66 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1549, allocations: 259.7 kB / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1549, allocations: 384 / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1549, allocations: 384 / 0.6358 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.1551, allocations: 85.78 kB / 0.6358 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1552, allocations: 3.938 kB / 0.6358 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.1552, allocations: 3.938 kB / 0.6358 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1552, allocations: 0 / 0.6358 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.1554, allocations: 87.92 kB / 0.6359 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1559, allocations: 400.7 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.156, allocations: 82.53 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/0.1562, allocations: 52.88 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1562, allocations: 15.98 kB / 0.6365 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1562, allocations: 34.5 kB / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1562, allocations: 0 / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.1567, allocations: 185.3 kB / 0.6367 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.1567, allocations: 51.41 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.1571, allocations: 351.2 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1571, allocations: 25.7 kB / 0.6371 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.1572, allocations: 132.1 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1572, allocations: 15.95 kB / 0.6372 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1572, allocations: 25.72 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1574, allocations: 338.8 kB / 0.6376 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1575, allocations: 99.94 kB / 0.6377 GB, free: 14.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1577, allocations: 99.89 kB / 0.6378 GB, free: 14.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.158, allocations: 207.4 kB / 0.638 GB, free: 14.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.158, allocations: 4 kB / 0.638 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003461/0.1583, allocations: 253.3 kB / 0.6382 GB, free: 13.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1583, allocations: 7.984 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1584, allocations: 3.938 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1584, allocations: 0 / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.1585, allocations: 8 kB / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1585, allocations: 0 / 0.6382 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.1586, allocations: 15.83 kB / 0.6382 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-06/0.1586, allocations: 8 kB / 0.6382 GB, free: 13.86 MB / 494.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.0001258/0.1587, allocations: 149.7 kB / 0.6384 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.1587, allocations: 19.72 kB / 0.6384 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.159, allocations: 142.6 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1591, allocations: 3.984 kB / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1591, allocations: 0 / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1591, allocations: 96 / 0.6385 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1593, allocations: 245.6 kB / 0.6388 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1593, allocations: 11.91 kB / 0.6388 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.1594, allocations: 8 kB / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1594, allocations: 0 / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1594, allocations: 0 / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1594, allocations: 0 / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1594, allocations: 0 / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.1597, allocations: 243.1 kB / 0.639 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.1598, allocations: 104.8 kB / 0.6391 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1598, allocations: 0 / 0.6391 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.1599, allocations: 7.984 kB / 0.6391 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1599, allocations: 0 / 0.6391 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1599, allocations: 0 / 0.6391 GB, free: 12.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.1602, allocations: 249.9 kB / 0.6394 GB, free: 12.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1602, allocations: 0 / 0.6394 GB, free: 12.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1605, allocations: 72.02 kB / 0.6394 GB, free: 12.52 MB / 494.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.0007149/0.1613, allocations: 0.8175 MB / 0.6402 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.1616, allocations: 156 kB / 0.6404 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1616, allocations: 0 / 0.6404 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1617, allocations: 51.95 kB / 0.6404 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1621, allocations: 12.66 kB / 0.6405 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.1649, allocations: 2.722 MB / 0.6431 GB, free: 8.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1652, allocations: 0.7353 MB / 0.6438 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.455e-05/0.1653, allocations: 20.55 kB / 0.6438 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.1654, allocations: 59.36 kB / 0.6439 GB, free: 7.824 MB / 494.1 MB Notification: Performance of SimCode: time 1.823e-06/0.1654, allocations: 0 / 0.6439 GB, free: 7.824 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.1883, allocations: 4.286 MB / 0.6481 GB, free: 3.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.961, allocations: 0 / 0.6481 GB, free: 3.652 MB / 494.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)