Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008882/0.0008883, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008601/0.0008602, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.006/1.006, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003019, allocations: 16 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 83.41 MB / 0.5976 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006296/0.1624, allocations: 335 kB / 0.5979 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1639, allocations: 1.389 MB / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.1639, allocations: 0 / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.164, allocations: 0 / 0.5992 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.164, allocations: 8 kB / 0.5992 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1645, allocations: 151.7 kB / 0.5994 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.1646, allocations: 23.97 kB / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.1646, allocations: 0 / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.1647, allocations: 23.92 kB / 0.5994 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.1647, allocations: 27.89 kB / 0.5995 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1648, allocations: 0 / 0.5995 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.1651, allocations: 223.7 kB / 0.5997 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.1651, allocations: 15.92 kB / 0.5997 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1651, allocations: 29.7 kB / 0.5997 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1653, allocations: 147.7 kB / 0.5999 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1653, allocations: 0 / 0.5999 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1653, allocations: 0 / 0.5999 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.1653, allocations: 0 / 0.5999 GB, free: 5.336 MB / 0.4981 GB 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.0003134/0.1657, allocations: 393.2 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1657, allocations: 8.031 kB / 0.6002 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1658, allocations: 42.55 kB / 0.6003 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.1658, allocations: 7.906 kB / 0.6003 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.842e-05/0.1659, allocations: 174.9 kB / 0.6005 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1659, allocations: 4 kB / 0.6005 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.1659, allocations: 0 / 0.6005 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1661, allocations: 69.66 kB / 0.6005 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-06/0.1661, allocations: 4 kB / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1661, allocations: 0 / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1661, allocations: 0 / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.1661, allocations: 35.97 kB / 0.6006 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.1663, allocations: 173.5 kB / 0.6007 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.185e-05/0.1664, allocations: 70.48 kB / 0.6008 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.1664, allocations: 48.88 kB / 0.6008 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-06/0.1664, allocations: 4 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1665, allocations: 34.55 kB / 0.6009 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1665, allocations: 0 / 0.6009 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002772/0.1668, allocations: 183.3 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1668, allocations: 85.14 kB / 0.6011 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.1669, allocations: 109.8 kB / 0.6012 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1669, allocations: 29.7 kB / 0.6013 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.1669, allocations: 88.08 kB / 0.6014 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.167, allocations: 27.64 kB / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.167, allocations: 0 / 0.6014 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1671, allocations: 314.8 kB / 0.6017 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.1672, allocations: 39.97 kB / 0.6017 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.702e-05/0.1672, allocations: 39.97 kB / 0.6018 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.1673, allocations: 65.83 kB / 0.6018 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1673, allocations: 0 / 0.6018 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/0.1675, allocations: 155.2 kB / 0.602 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.1675, allocations: 37.69 kB / 0.602 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.1675, allocations: 3.938 kB / 0.602 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.1676, allocations: 0 / 0.602 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.1676, allocations: 4 kB / 0.602 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1676, allocations: 0 / 0.602 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.1677, allocations: 8 kB / 0.602 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1677, allocations: 16.05 kB / 0.602 GB, free: 2.844 MB / 0.4981 GB 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 9.296e-05/0.1678, allocations: 151.4 kB / 0.6022 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.1678, allocations: 11.84 kB / 0.6022 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.1678, allocations: 8.375 kB / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1678, allocations: 0 / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1678, allocations: 0 / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1678, allocations: 0 / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.168, allocations: 173.6 kB / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.168, allocations: 0 / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.168, allocations: 0 / 0.6024 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.168, allocations: 4 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.168, allocations: 4 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.168, allocations: 0 / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.168, allocations: 0 / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1682, allocations: 194.7 kB / 0.6026 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.1683, allocations: 85.06 kB / 0.6026 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1683, allocations: 3.984 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.367e-05/0.1683, allocations: 11.98 kB / 0.6027 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1683, allocations: 4.031 kB / 0.6027 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1684, allocations: 4 kB / 0.6027 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.1684, allocations: 95.89 kB / 0.6027 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1684, allocations: 3.938 kB / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002626/0.1687, allocations: 67.98 kB / 0.6028 GB, free: 1.926 MB / 0.4981 GB 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.0006104/0.1693, allocations: 0.7978 MB / 0.6036 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1695, allocations: 195.3 kB / 0.6038 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1695, allocations: 0 / 0.6038 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1697, allocations: 159.2 kB / 0.6039 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1698, allocations: 8.094 kB / 0.6039 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.1702, allocations: 228.7 kB / 0.6042 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2753/0.4455, allocations: 0.6866 MB / 0.6048 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.4455, allocations: 0 / 0.6048 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.4456, allocations: 10.53 kB / 0.6048 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.4456, allocations: 0 / 0.6048 GB, free: 40.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.4572, allocations: 2.877 MB / 0.6077 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.4573, allocations: 212.1 kB / 0.6079 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/2.173, allocations: 0 / 0.6079 GB, free: 39.89 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) Environment - environmentSimulation: