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.001799/0.001799, allocations: 95.88 kB / 15.68 MB, free: 488 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.002159/0.002159, allocations: 176.2 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.762/2.762, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7963/0.7963, allocations: 113.7 MB / 405.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006038/0.1325, allocations: 331.1 kB / 0.557 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1339, allocations: 1.379 MB / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.134, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.049e-05/0.134, allocations: 0 / 0.5584 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.1341, allocations: 11.98 kB / 0.5584 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004617/0.1345, allocations: 151.7 kB / 0.5585 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.1346, allocations: 23.91 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.1346, allocations: 4 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.538e-05/0.1347, allocations: 11.98 kB / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.1347, allocations: 23.91 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1347, allocations: 4 kB / 0.5586 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.135, allocations: 211.7 kB / 0.5588 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.135, allocations: 8 kB / 0.5588 GB, free: 9.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.1351, allocations: 29.7 kB / 0.5589 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1353, allocations: 143.8 kB / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.1353, allocations: 0 / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1353, allocations: 0 / 0.559 GB, free: 9.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1353, allocations: 0 / 0.559 GB, free: 9.363 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003014/0.1356, allocations: 393.2 kB / 0.5594 GB, free: 8.926 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.1356, allocations: 8.031 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.1356, allocations: 38.5 kB / 0.5594 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.1357, allocations: 11.91 kB / 0.5594 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.1358, allocations: 167 kB / 0.5596 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1358, allocations: 4 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.1358, allocations: 0 / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1359, allocations: 73.61 kB / 0.5597 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-06/0.1359, allocations: 4 kB / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.136, allocations: 0 / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.136, allocations: 0 / 0.5597 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.136, allocations: 39.91 kB / 0.5597 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.1361, allocations: 165.7 kB / 0.5599 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.1362, allocations: 58.56 kB / 0.5599 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.1362, allocations: 0 / 0.5599 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1363, allocations: 38.58 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.1363, allocations: 0 / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002996/0.1366, allocations: 272.2 kB / 0.5602 GB, free: 7.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1366, allocations: 81.11 kB / 0.5603 GB, free: 7.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.1367, allocations: 113.9 kB / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1367, allocations: 25.7 kB / 0.5604 GB, free: 7.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.1367, allocations: 96.06 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1368, allocations: 23.8 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.1368, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.1369, allocations: 318.8 kB / 0.5608 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.1369, allocations: 35.98 kB / 0.5609 GB, free: 7.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.137, allocations: 35.97 kB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.137, allocations: 69.7 kB / 0.561 GB, free: 7.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.137, allocations: 0 / 0.561 GB, free: 7.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.1372, allocations: 151.2 kB / 0.5611 GB, free: 6.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.1372, allocations: 40.03 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1373, allocations: 3.938 kB / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1373, allocations: 0 / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.1373, allocations: 3.953 kB / 0.5612 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1373, allocations: 3.938 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.349e-05/0.1374, allocations: 11.98 kB / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1374, allocations: 4 kB / 0.5612 GB, free: 6.844 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.1375, allocations: 151.6 kB / 0.5613 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1375, allocations: 7.906 kB / 0.5613 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.1375, allocations: 8.375 kB / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.1375, allocations: 0 / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1375, allocations: 3.953 kB / 0.5613 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1375, allocations: 3.984 kB / 0.5613 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.469e-05/0.1376, allocations: 161.7 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1376, allocations: 0 / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.1376, allocations: 3.984 kB / 0.5615 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1377, allocations: 0 / 0.5615 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1377, allocations: 8 kB / 0.5615 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1377, allocations: 4 kB / 0.5615 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1377, allocations: 0.625 kB / 0.5615 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1379, allocations: 202.6 kB / 0.5617 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1379, allocations: 85.09 kB / 0.5618 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1379, allocations: 0 / 0.5618 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.138, allocations: 8 kB / 0.5618 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.138, allocations: 4 kB / 0.5618 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.138, allocations: 16.02 kB / 0.5618 GB, free: 6.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.1381, allocations: 95.25 kB / 0.5619 GB, free: 5.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1381, allocations: 0 / 0.5619 GB, free: 5.988 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1383, allocations: 71.95 kB / 0.562 GB, free: 5.918 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005517/0.1389, allocations: 0.8099 MB / 0.5628 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1391, allocations: 211.3 kB / 0.563 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1391, allocations: 3.938 kB / 0.563 GB, free: 4.852 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1392, allocations: 151.4 kB / 0.5631 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.645e-05/0.1393, allocations: 4 kB / 0.5631 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1397, allocations: 248.2 kB / 0.5634 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.1399, allocations: 0.6928 MB / 0.564 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.997e-06/0.1399, allocations: 0 / 0.564 GB, free: 3.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1399, allocations: 19.42 kB / 0.5641 GB, free: 3.668 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1399, allocations: 0 / 0.5641 GB, free: 3.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6595/0.7994, allocations: 2.739 MB / 0.5667 GB, free: 1.082 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003741/0.7999, allocations: 191 kB / 0.5669 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/3.853, allocations: 0 / 0.5669 GB, free: 0.8438 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: