Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic",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.0008209/0.0008209, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009323/0.0009323, allocations: 172.7 kB / 15.95 MB, free: 208 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.369/1.369, allocations: 223.2 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 16 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1909, allocations: 83.41 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic): time 0.001751/0.1927, allocations: 1.19 MB / 0.5987 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.1931, allocations: 120.6 kB / 0.5988 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1931, allocations: 0 / 0.5988 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.1931, allocations: 3.938 kB / 0.5988 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.1932, allocations: 7.938 kB / 0.5988 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1934, allocations: 19.97 kB / 0.5988 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.1935, allocations: 39.86 kB / 0.5989 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.1936, allocations: 11.98 kB / 0.5989 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1936, allocations: 23.91 kB / 0.5989 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.1937, allocations: 15.92 kB / 0.5989 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1937, allocations: 4 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1938, allocations: 31.95 kB / 0.599 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.1938, allocations: 8 kB / 0.599 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1939, allocations: 37.64 kB / 0.599 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.194, allocations: 51.89 kB / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.194, allocations: 0 / 0.5991 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.194, allocations: 3.938 kB / 0.5991 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.194, allocations: 0 / 0.5991 GB, free: 6.125 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004931/0.1945, allocations: 391.3 kB / 0.5994 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1945, allocations: 8.031 kB / 0.5994 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1946, allocations: 42.55 kB / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1946, allocations: 4 kB / 0.5995 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1948, allocations: 174.9 kB / 0.5997 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1948, allocations: 4 kB / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1948, allocations: 0 / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.1951, allocations: 129.6 kB / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1951, allocations: 0 / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1951, allocations: 4 kB / 0.5998 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.1951, allocations: 8 kB / 0.5998 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.1955, allocations: 147.9 kB / 0.5999 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1959, allocations: 336.7 kB / 0.6003 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1961, allocations: 78.48 kB / 0.6003 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1963, allocations: 44.92 kB / 0.6004 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.1965, allocations: 121.1 kB / 0.6005 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/0.1966, allocations: 30.56 kB / 0.6005 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1966, allocations: 0 / 0.6005 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005116/0.1971, allocations: 173.4 kB / 0.6007 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1972, allocations: 59.41 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1973, allocations: 147.9 kB / 0.6009 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1973, allocations: 25.7 kB / 0.6009 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.1974, allocations: 123.7 kB / 0.601 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.1974, allocations: 7.812 kB / 0.601 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/0.1974, allocations: 4 kB / 0.601 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1975, allocations: 322.8 kB / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1977, allocations: 55.95 kB / 0.6014 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.1979, allocations: 121.4 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1981, allocations: 75.88 kB / 0.6016 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1981, allocations: 0 / 0.6016 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004086/0.1985, allocations: 209.2 kB / 0.6018 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1985, allocations: 7.938 kB / 0.6018 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1985, allocations: 4 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1986, allocations: 4 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1987, allocations: 40.28 kB / 0.6018 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1988, allocations: 7.938 kB / 0.6019 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.1989, allocations: 31.91 kB / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1989, allocations: 8 kB / 0.6019 GB, free: 2.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001068/0.199, allocations: 117.8 kB / 0.602 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1991, allocations: 15.86 kB / 0.602 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.1995, allocations: 150 kB / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1995, allocations: 48 / 0.6022 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.1995, allocations: 3.984 kB / 0.6022 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1995, allocations: 0 / 0.6022 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1997, allocations: 181.5 kB / 0.6023 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1997, allocations: 4 kB / 0.6023 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.1998, allocations: 19.98 kB / 0.6024 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1998, allocations: 0 / 0.6024 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1998, allocations: 3.953 kB / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1998, allocations: 4 kB / 0.6024 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1998, allocations: 0 / 0.6024 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.2002, allocations: 223.4 kB / 0.6026 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.2003, allocations: 89.02 kB / 0.6027 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2003, allocations: 0 / 0.6027 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2004, allocations: 19.94 kB / 0.6027 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.2005, allocations: 11.98 kB / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.2005, allocations: 0 / 0.6027 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.869e-05/0.2006, allocations: 105 kB / 0.6028 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2006, allocations: 0 / 0.6028 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002719/0.2008, allocations: 23.98 kB / 0.6028 GB, free: 1.898 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0007248/0.2016, allocations: 0.7514 MB / 0.6036 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.202, allocations: 127.8 kB / 0.6037 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.202, allocations: 0.625 kB / 0.6037 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.2021, allocations: 51.91 kB / 0.6037 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.2024, allocations: 11.95 kB / 0.6037 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.203, allocations: 218.6 kB / 0.6039 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2708/0.4739, allocations: 0.6907 MB / 0.6046 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000127/0.474, allocations: 27.17 kB / 0.6046 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.4741, allocations: 19.75 kB / 0.6047 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.4741, allocations: 0 / 0.6047 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.4846, allocations: 1.855 MB / 0.6065 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001165/0.4848, allocations: 182.3 kB / 0.6066 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.166, allocations: 0 / 0.6066 GB, free: 39.87 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Bicubic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: