Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false)
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 3.2.3+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false)
Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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)
Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo)
Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic")
translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic")
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8:
"
An important practical aspect of state machines is the abilit...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8:
"
The Modelica_StateGraph2 library is described in detail in (O...".
Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
To change it in a package: add a file package.encoding at the top-level.
Note: The Modelica Language Specification only allows files encoded in UTF-8.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8:
"
- Main Authors:
-
SCode: time 0.1944/0.1952, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001714/0.1969, allocations: 1.165 MB / 0.5945 GB, free: 4.809 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002733/0.1972, allocations: 107.7 kB / 0.5946 GB, free: 4.703 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1973, allocations: 0 / 0.5946 GB, free: 4.703 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1973, allocations: 0 / 0.5946 GB, free: 4.703 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.1974, allocations: 11.98 kB / 0.5946 GB, free: 4.691 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.1976, allocations: 23.91 kB / 0.5946 GB, free: 4.668 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 7.663e-05/0.1977, allocations: 23.97 kB / 0.5947 GB, free: 4.645 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1978, allocations: 11.98 kB / 0.5947 GB, free: 4.633 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.1979, allocations: 19.91 kB / 0.5947 GB, free: 4.613 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.511e-05/0.1979, allocations: 19.92 kB / 0.5947 GB, free: 4.594 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1979, allocations: 0 / 0.5947 GB, free: 4.594 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.198, allocations: 31.97 kB / 0.5947 GB, free: 4.562 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.1981, allocations: 7.984 kB / 0.5947 GB, free: 4.555 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1981, allocations: 41.64 kB / 0.5948 GB, free: 4.508 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.55e-05/0.1982, allocations: 48.14 kB / 0.5948 GB, free: 4.461 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1982, allocations: 0 / 0.5948 GB, free: 4.461 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.693e-06/0.1982, allocations: 0 / 0.5948 GB, free: 4.461 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.117e-06/0.1982, allocations: 0 / 0.5948 GB, free: 4.461 MB / 446.1 MB
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.0005802/0.1988, allocations: 390.2 kB / 0.5952 GB, free: 4.035 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1989, allocations: 12.03 kB / 0.5952 GB, free: 4.023 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1989, allocations: 3.906 kB / 0.5952 GB, free: 4.02 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1991, allocations: 182.9 kB / 0.5954 GB, free: 3.801 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1991, allocations: 0 / 0.5954 GB, free: 3.801 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.1991, allocations: 4 kB / 0.5954 GB, free: 3.797 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1994, allocations: 129.6 kB / 0.5955 GB, free: 3.664 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1994, allocations: 3.938 kB / 0.5955 GB, free: 3.66 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1994, allocations: 0 / 0.5955 GB, free: 3.66 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.1995, allocations: 8 kB / 0.5955 GB, free: 3.652 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.1998, allocations: 143.9 kB / 0.5957 GB, free: 3.512 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.2003, allocations: 344.5 kB / 0.596 GB, free: 3.125 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.2005, allocations: 70.53 kB / 0.5961 GB, free: 3.047 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.2008, allocations: 121.2 kB / 0.5962 GB, free: 2.91 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2008, allocations: 38.56 kB / 0.5962 GB, free: 2.863 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2008, allocations: 0 / 0.5962 GB, free: 2.863 MB / 446.1 MB
Notification: Performance of matching and sorting (n=3): time 0.0005706/0.2014, allocations: 173.4 kB / 0.5964 GB, free: 2.688 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.2014, allocations: 51.41 kB / 0.5964 GB, free: 2.625 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2016, allocations: 144.2 kB / 0.5966 GB, free: 2.477 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.2016, allocations: 25.7 kB / 0.5966 GB, free: 2.445 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.2017, allocations: 123.7 kB / 0.5967 GB, free: 2.32 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.2017, allocations: 11.89 kB / 0.5967 GB, free: 2.309 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.2017, allocations: 4 kB / 0.5967 GB, free: 2.305 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001033/0.2018, allocations: 314.8 kB / 0.597 GB, free: 1.988 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.202, allocations: 59.94 kB / 0.5971 GB, free: 1.93 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.2022, allocations: 124.5 kB / 0.5972 GB, free: 1.777 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2024, allocations: 75.89 kB / 0.5973 GB, free: 1.703 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2024, allocations: 0 / 0.5973 GB, free: 1.703 MB / 446.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004134/0.2028, allocations: 201.3 kB / 0.5975 GB, free: 1.5 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2028, allocations: 4 kB / 0.5975 GB, free: 1.496 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2029, allocations: 7.938 kB / 0.5975 GB, free: 1.488 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2029, allocations: 4 kB / 0.5975 GB, free: 1.484 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.203, allocations: 44.28 kB / 0.5975 GB, free: 1.441 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2031, allocations: 4 kB / 0.5975 GB, free: 1.438 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2032, allocations: 27.83 kB / 0.5976 GB, free: 1.41 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.2032, allocations: 15.89 kB / 0.5976 GB, free: 1.395 MB / 446.1 MB
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 9.237e-05/0.2033, allocations: 133.7 kB / 0.5977 GB, free: 1.254 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2033, allocations: 7.906 kB / 0.5977 GB, free: 1.246 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.2037, allocations: 150 kB / 0.5979 GB, free: 1.094 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2037, allocations: 0 / 0.5979 GB, free: 1.094 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2037, allocations: 0 / 0.5979 GB, free: 1.094 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2037, allocations: 0 / 0.5979 GB, free: 1.094 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.204, allocations: 177.6 kB / 0.598 GB, free: 0.8711 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.204, allocations: 0 / 0.598 GB, free: 0.8711 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.647e-05/0.2041, allocations: 31.97 kB / 0.5981 GB, free: 0.8398 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2041, allocations: 0 / 0.5981 GB, free: 0.8398 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.2041, allocations: 4 kB / 0.5981 GB, free: 0.8359 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2041, allocations: 0 / 0.5981 GB, free: 0.8359 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2041, allocations: 0 / 0.5981 GB, free: 0.8359 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.2045, allocations: 223.3 kB / 0.5983 GB, free: 0.6016 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2045, allocations: 85 kB / 0.5983 GB, free: 0.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2046, allocations: 0 / 0.5983 GB, free: 0.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.2047, allocations: 23.98 kB / 0.5984 GB, free: 488 kB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2047, allocations: 7.938 kB / 0.5984 GB, free: 480 kB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2047, allocations: 3.984 kB / 0.5984 GB, free: 476 kB / 446.1 MB
Notification: Performance of sorting global known variables: time 7.061e-05/0.2048, allocations: 109 kB / 0.5985 GB, free: 368 kB / 446.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2048, allocations: 0 / 0.5985 GB, free: 368 kB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0002488/0.2051, allocations: 12 kB / 0.5985 GB, free: 356 kB / 446.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 (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.0001452/0.2052, allocations: 115.2 kB / 0.5986 GB, free: 232 kB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004026/0.2056, allocations: 128.4 kB / 0.5987 GB, free: 104 kB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2056, allocations: 0 / 0.5987 GB, free: 104 kB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.2058, allocations: 43.97 kB / 0.5988 GB, free: 60 kB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.206, allocations: 15.95 kB / 0.5988 GB, free: 44 kB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.2065, allocations: 173.3 kB / 0.599 GB, free: 15.84 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.2068, allocations: 0.6926 MB / 0.5996 GB, free: 15.12 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 9.694e-05/0.2069, allocations: 28.41 kB / 0.5997 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.2069, allocations: 11.44 kB / 0.5997 GB, free: 15.08 MB / 462.1 MB
Notification: Performance of SimCode: time 2.4e-07/0.2069, allocations: 0 / 0.5997 GB, free: 15.08 MB / 462.1 MB
Notification: Performance of Templates: time 0.003709/0.2106, allocations: 0.8026 MB / 0.6005 GB, free: 14.28 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)
Environment - environmentSimulation: