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.001303/0.001303, allocations: 106.8 kB / 16.4 MB, free: 6.406 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.001287/0.001287, allocations: 193.2 kB / 17.34 MB, free: 5.695 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.78 kB / 0.568 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1445, allocations: 77.93 MB / 0.6441 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.00194/0.1465, allocations: 0.5961 MB / 0.6447 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1484, allocations: 1.443 MB / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1484, allocations: 0 / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.1485, allocations: 0 / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.1486, allocations: 11.94 kB / 0.6461 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.1494, allocations: 213 kB / 0.6463 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.841e-05/0.1495, allocations: 35.97 kB / 0.6463 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1495, allocations: 0 / 0.6463 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.1496, allocations: 15.97 kB / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.1496, allocations: 23.92 kB / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1496, allocations: 0 / 0.6464 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.1501, allocations: 259.6 kB / 0.6466 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.224e-05/0.1501, allocations: 11.94 kB / 0.6466 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.1502, allocations: 11.92 kB / 0.6467 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1505, allocations: 211.7 kB / 0.6469 GB, free: 6.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1505, allocations: 0 / 0.6469 GB, free: 6.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1505, allocations: 0 / 0.6469 GB, free: 6.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1505, allocations: 4 kB / 0.6469 GB, free: 6.645 MB / 494.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.0004236/0.151, allocations: 414.5 kB / 0.6473 GB, free: 6.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.151, allocations: 8.625 kB / 0.6473 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.1511, allocations: 34.75 kB / 0.6473 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1511, allocations: 8.891 kB / 0.6473 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1512, allocations: 172.3 kB / 0.6475 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1512, allocations: 384 / 0.6475 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1513, allocations: 4.375 kB / 0.6475 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1514, allocations: 73.78 kB / 0.6475 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1514, allocations: 0 / 0.6475 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1514, allocations: 4 kB / 0.6475 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1514, allocations: 0 / 0.6475 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.1515, allocations: 35.97 kB / 0.6476 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1517, allocations: 169.6 kB / 0.6477 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.1518, allocations: 66.48 kB / 0.6478 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.1518, allocations: 48.86 kB / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.1518, allocations: 0 / 0.6479 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1519, allocations: 38.5 kB / 0.6479 GB, free: 5.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.286e-06/0.1519, allocations: 0 / 0.6479 GB, free: 5.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003002/0.1522, allocations: 187.2 kB / 0.6481 GB, free: 5.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1522, allocations: 89.08 kB / 0.6482 GB, free: 5.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.1523, allocations: 117.7 kB / 0.6483 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1524, allocations: 25.7 kB / 0.6483 GB, free: 4.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.1524, allocations: 88.14 kB / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.1525, allocations: 31.73 kB / 0.6484 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1525, allocations: 17.72 kB / 0.6484 GB, free: 4.812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1526, allocations: 318.8 kB / 0.6487 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.1527, allocations: 39.97 kB / 0.6488 GB, free: 4.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.1528, allocations: 40.12 kB / 0.6488 GB, free: 4.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1529, allocations: 144.8 kB / 0.6489 GB, free: 4.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1529, allocations: 0 / 0.6489 GB, free: 4.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.1531, allocations: 151.3 kB / 0.6491 GB, free: 4.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.1532, allocations: 41.62 kB / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1532, allocations: 0 / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1532, allocations: 0 / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.1532, allocations: 0 / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1532, allocations: 0 / 0.6491 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1533, allocations: 11.98 kB / 0.6491 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1534, allocations: 8.062 kB / 0.6491 GB, free: 4.031 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 (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 0.000101/0.1535, allocations: 151.5 kB / 0.6493 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.1535, allocations: 11.89 kB / 0.6493 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.19e-05/0.1535, allocations: 8.375 kB / 0.6493 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1535, allocations: 3.984 kB / 0.6493 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1535, allocations: 0 / 0.6493 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1535, allocations: 3.984 kB / 0.6493 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1536, allocations: 161.7 kB / 0.6495 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1537, allocations: 0 / 0.6495 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.1537, allocations: 7.938 kB / 0.6495 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1537, allocations: 4 kB / 0.6495 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1537, allocations: 4 kB / 0.6495 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.1537, allocations: 3.984 kB / 0.6495 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1537, allocations: 4 kB / 0.6495 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1539, allocations: 199.8 kB / 0.6497 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.154, allocations: 85 kB / 0.6498 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.154, allocations: 4 kB / 0.6498 GB, free: 3.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.1541, allocations: 11.97 kB / 0.6498 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.1541, allocations: 7.984 kB / 0.6498 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1541, allocations: 4 kB / 0.6498 GB, free: 3.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.84e-05/0.1542, allocations: 91.27 kB / 0.6499 GB, free: 3.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 0.6499 GB, free: 3.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.1545, allocations: 67.88 kB / 0.6499 GB, free: 3.102 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 (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.0007078/0.1552, allocations: 0.8013 MB / 0.6507 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.1555, allocations: 199.2 kB / 0.6509 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1555, allocations: 0 / 0.6509 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.1556, allocations: 155.3 kB / 0.6511 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.1558, allocations: 4 kB / 0.6511 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1562, allocations: 222.4 kB / 0.6513 GB, free: 1.633 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1565, allocations: 0.6808 MB / 0.6519 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.531e-06/0.1565, allocations: 4 kB / 0.6519 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.1565, allocations: 19.42 kB / 0.652 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1565, allocations: 0 / 0.652 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.1771, allocations: 3.097 MB / 0.655 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.713, allocations: 0 / 0.655 GB, free: 13.91 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)