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.001276/0.001275, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001707/0.001707, allocations: 177.3 kB / 15.94 MB, free: 228 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.389/1.389, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.032/1.032, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 11.98 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 83.42 MB / 0.5974 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0007687/0.1706, allocations: 327.1 kB / 0.5977 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1725, allocations: 1.389 MB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1725, allocations: 0 / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.769e-05/0.1726, allocations: 0 / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.136e-05/0.1726, allocations: 4 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.1732, allocations: 159.6 kB / 0.5992 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.1732, allocations: 15.98 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.1733, allocations: 0 / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.1733, allocations: 15.98 kB / 0.5992 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.1734, allocations: 27.91 kB / 0.5993 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1734, allocations: 0 / 0.5993 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.1737, allocations: 211.7 kB / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.1738, allocations: 11.98 kB / 0.5995 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.1738, allocations: 29.64 kB / 0.5995 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.174, allocations: 147.8 kB / 0.5996 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.174, allocations: 0 / 0.5996 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.174, allocations: 0 / 0.5996 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1741, allocations: 0 / 0.5996 GB, free: 5.449 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.0004115/0.1745, allocations: 391.6 kB / 0.6 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1745, allocations: 12.03 kB / 0.6 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.1746, allocations: 38.56 kB / 0.6001 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.1746, allocations: 11.91 kB / 0.6001 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1747, allocations: 171 kB / 0.6002 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1748, allocations: 0 / 0.6002 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1748, allocations: 4 kB / 0.6002 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1749, allocations: 69.66 kB / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1749, allocations: 0 / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.175, allocations: 3.938 kB / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.175, allocations: 0 / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.175, allocations: 39.97 kB / 0.6003 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.1752, allocations: 169.5 kB / 0.6005 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1754, allocations: 66.55 kB / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.1754, allocations: 0 / 0.6006 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1754, allocations: 30.56 kB / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1754, allocations: 0 / 0.6006 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003661/0.1758, allocations: 264.4 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1759, allocations: 77.11 kB / 0.6009 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.176, allocations: 126 kB / 0.601 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.176, allocations: 25.7 kB / 0.6011 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.176, allocations: 84.12 kB / 0.6011 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.1761, allocations: 23.66 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.1761, allocations: 0 / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1762, allocations: 326.8 kB / 0.6015 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.1762, allocations: 35.91 kB / 0.6015 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.379e-05/0.1763, allocations: 35.97 kB / 0.6015 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.267e-05/0.1764, allocations: 65.69 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1764, allocations: 8.031 kB / 0.6016 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001671/0.1766, allocations: 151.2 kB / 0.6018 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.1766, allocations: 37.7 kB / 0.6018 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1766, allocations: 4.562 kB / 0.6018 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.1766, allocations: 0 / 0.6018 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-06/0.1766, allocations: 4 kB / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1767, allocations: 0 / 0.6018 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.1768, allocations: 7.984 kB / 0.6018 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1768, allocations: 4 kB / 0.6018 GB, free: 2.934 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 0.0001071/0.1769, allocations: 155.5 kB / 0.602 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.1769, allocations: 11.89 kB / 0.602 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.1769, allocations: 8.375 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1769, allocations: 3.984 kB / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.177, allocations: 0 / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.177, allocations: 0 / 0.602 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1771, allocations: 169.6 kB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1771, allocations: 0 / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.1771, allocations: 3.984 kB / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1771, allocations: 0 / 0.6022 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1771, allocations: 4 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1771, allocations: 4 kB / 0.6022 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1771, allocations: 0 / 0.6022 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1774, allocations: 202.6 kB / 0.6024 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.1774, allocations: 81.06 kB / 0.6024 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1775, allocations: 4 kB / 0.6024 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.1775, allocations: 11.98 kB / 0.6025 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.1775, allocations: 4 kB / 0.6025 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1776, allocations: 8.031 kB / 0.6025 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.1776, allocations: 91.27 kB / 0.6025 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1776, allocations: 0 / 0.6025 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002978/0.1779, allocations: 75.98 kB / 0.6026 GB, free: 2 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.0007462/0.1787, allocations: 0.817 MB / 0.6034 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1789, allocations: 211.4 kB / 0.6036 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.179, allocations: 0 / 0.6036 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.1791, allocations: 155.3 kB / 0.6038 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.1792, allocations: 4 kB / 0.6038 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.1797, allocations: 244.5 kB / 0.604 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2751/0.4548, allocations: 0.6827 MB / 0.6047 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.428e-05/0.4548, allocations: 0 / 0.6047 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.4549, allocations: 14.94 kB / 0.6047 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.4549, allocations: 0 / 0.6047 GB, free: 40.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.4675, allocations: 2.79 MB / 0.6074 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/0.4677, allocations: 218 kB / 0.6076 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.139, allocations: 4 kB / 0.6076 GB, free: 39.91 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: