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.0008881/0.0008881, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008639/0.0008639, allocations: 182.2 kB / 16.92 MB, free: 6.773 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 12 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 77.54 MB / 0.5601 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006634/0.1465, allocations: 330.4 kB / 0.5604 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1484, allocations: 1.459 MB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.914e-05/0.1484, allocations: 4 kB / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.316e-05/0.1485, allocations: 0 / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.296e-05/0.1485, allocations: 0 / 0.5618 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.1491, allocations: 163.7 kB / 0.562 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.1491, allocations: 31.92 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.1492, allocations: 7.984 kB / 0.562 GB, free: 6.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.1492, allocations: 15.98 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.755e-05/0.1493, allocations: 23.91 kB / 0.562 GB, free: 6.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1493, allocations: 4 kB / 0.562 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.1496, allocations: 243.6 kB / 0.5623 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.1497, allocations: 4 kB / 0.5623 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.1497, allocations: 45.56 kB / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.15, allocations: 219.5 kB / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.15, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.15, allocations: 0 / 0.5625 GB, free: 6.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.15, allocations: 4 kB / 0.5625 GB, free: 6.367 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.0003227/0.1503, allocations: 381.4 kB / 0.5629 GB, free: 5.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1504, allocations: 12.03 kB / 0.5629 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1504, allocations: 38.67 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.1504, allocations: 8.844 kB / 0.563 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1505, allocations: 176.2 kB / 0.5631 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1506, allocations: 4.375 kB / 0.5631 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1506, allocations: 4.375 kB / 0.5631 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1507, allocations: 77.78 kB / 0.5632 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.1507, allocations: 0 / 0.5632 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1507, allocations: 0 / 0.5632 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.1507, allocations: 0 / 0.5632 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.1508, allocations: 35.97 kB / 0.5632 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1509, allocations: 165.6 kB / 0.5634 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.151, allocations: 66.53 kB / 0.5635 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.1511, allocations: 48.88 kB / 0.5635 GB, free: 5.203 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1511, allocations: 4 kB / 0.5635 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.1511, allocations: 38.48 kB / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.1511, allocations: 0 / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002684/0.1514, allocations: 187.2 kB / 0.5637 GB, free: 4.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1515, allocations: 81.11 kB / 0.5638 GB, free: 4.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.1515, allocations: 113.8 kB / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1515, allocations: 25.7 kB / 0.5639 GB, free: 4.707 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.1516, allocations: 80.14 kB / 0.564 GB, free: 4.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1516, allocations: 35.58 kB / 0.564 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.1517, allocations: 13.72 kB / 0.5641 GB, free: 4.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.1518, allocations: 318.8 kB / 0.5644 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.1518, allocations: 39.92 kB / 0.5644 GB, free: 4.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.629e-05/0.1519, allocations: 35.97 kB / 0.5644 GB, free: 4.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.152, allocations: 149 kB / 0.5646 GB, free: 4.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.152, allocations: 0 / 0.5646 GB, free: 4.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.1522, allocations: 151.2 kB / 0.5647 GB, free: 3.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.1522, allocations: 39.56 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1522, allocations: 4.062 kB / 0.5648 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1522, allocations: 0 / 0.5648 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.1523, allocations: 4 kB / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.1523, allocations: 0 / 0.5648 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.1523, allocations: 8 kB / 0.5648 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1524, allocations: 7.984 kB / 0.5648 GB, free: 3.789 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/0.1525, allocations: 151.5 kB / 0.5649 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.1525, allocations: 11.84 kB / 0.5649 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-06/0.1525, allocations: 4.375 kB / 0.5649 GB, free: 3.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1525, allocations: 4 kB / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1525, allocations: 0 / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.1525, allocations: 0 / 0.5649 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1526, allocations: 177.6 kB / 0.5651 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1526, allocations: 0 / 0.5651 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.1526, allocations: 3.938 kB / 0.5651 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1526, allocations: 0 / 0.5651 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1527, allocations: 4 kB / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1527, allocations: 0 / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1527, allocations: 0 / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.1529, allocations: 202.6 kB / 0.5653 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.1529, allocations: 84.95 kB / 0.5654 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1529, allocations: 4 kB / 0.5654 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.153, allocations: 7.984 kB / 0.5654 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.153, allocations: 4 kB / 0.5654 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.153, allocations: 4 kB / 0.5654 GB, free: 3.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.1531, allocations: 91.27 kB / 0.5655 GB, free: 2.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1531, allocations: 0 / 0.5655 GB, free: 2.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1533, allocations: 84.02 kB / 0.5656 GB, free: 2.859 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 (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.0006188/0.154, allocations: 0.7853 MB / 0.5663 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1542, allocations: 207.2 kB / 0.5665 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1542, allocations: 0 / 0.5665 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1543, allocations: 147.4 kB / 0.5667 GB, free: 1.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1545, allocations: 14.66 kB / 0.5667 GB, free: 1.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1548, allocations: 224.6 kB / 0.5669 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.1551, allocations: 0.6848 MB / 0.5676 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.328e-06/0.1551, allocations: 4 kB / 0.5676 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.1551, allocations: 11.44 kB / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1551, allocations: 0 / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1925/0.3476, allocations: 2.85 MB / 0.5704 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.3479, allocations: 210.6 kB / 0.5706 GB, free: 13.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.305, allocations: 0 / 0.5706 GB, free: 13.72 MB / 446.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/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)