Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck")
[/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.1564/0.1578, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001459/0.1593, allocations: 0.9789 MB / 0.5943 GB, free: 5.02 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005117/0.1598, allocations: 255.4 kB / 0.5946 GB, free: 4.77 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1599, allocations: 0 / 0.5946 GB, free: 4.77 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.1599, allocations: 0 / 0.5946 GB, free: 4.77 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.1599, allocations: 3.984 kB / 0.5946 GB, free: 4.766 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1603, allocations: 39.88 kB / 0.5946 GB, free: 4.727 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.1603, allocations: 19.97 kB / 0.5946 GB, free: 4.707 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1604, allocations: 3.984 kB / 0.5946 GB, free: 4.703 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.847e-05/0.1604, allocations: 7.938 kB / 0.5946 GB, free: 4.695 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.1605, allocations: 15.98 kB / 0.5947 GB, free: 4.68 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1605, allocations: 0 / 0.5947 GB, free: 4.68 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1608, allocations: 151.7 kB / 0.5948 GB, free: 4.531 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.1608, allocations: 0 / 0.5948 GB, free: 4.531 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1609, allocations: 29.7 kB / 0.5948 GB, free: 4.496 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.161, allocations: 48.16 kB / 0.5949 GB, free: 4.449 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.161, allocations: 0 / 0.5949 GB, free: 4.449 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.161, allocations: 0 / 0.5949 GB, free: 4.449 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.068e-06/0.161, allocations: 0 / 0.5949 GB, free: 4.449 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: 4
* Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.0004786/0.1615, allocations: 339.3 kB / 0.5952 GB, free: 4.07 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1615, allocations: 12.03 kB / 0.5952 GB, free: 4.059 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1616, allocations: 0 / 0.5952 GB, free: 4.059 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1617, allocations: 167.1 kB / 0.5954 GB, free: 3.855 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1617, allocations: 7.984 kB / 0.5954 GB, free: 3.848 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1617, allocations: 0 / 0.5954 GB, free: 3.848 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1622, allocations: 93.53 kB / 0.5955 GB, free: 3.75 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1622, allocations: 0 / 0.5955 GB, free: 3.75 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1622, allocations: 0 / 0.5955 GB, free: 3.75 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1622, allocations: 0 / 0.5955 GB, free: 3.75 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.1625, allocations: 47.95 kB / 0.5955 GB, free: 3.703 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1627, allocations: 165.6 kB / 0.5957 GB, free: 3.492 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1631, allocations: 78.56 kB / 0.5958 GB, free: 3.406 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.1634, allocations: 129 kB / 0.5959 GB, free: 3.262 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1634, allocations: 34.56 kB / 0.5959 GB, free: 3.219 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1634, allocations: 0 / 0.5959 GB, free: 3.219 MB / 446.1 MB
Notification: Performance of matching and sorting (n=6): time 0.002921/0.1663, allocations: 0.7281 MB / 0.5966 GB, free: 2.438 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.1664, allocations: 51.41 kB / 0.5967 GB, free: 2.375 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.1665, allocations: 97.86 kB / 0.5968 GB, free: 2.27 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1665, allocations: 25.7 kB / 0.5968 GB, free: 2.238 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.1665, allocations: 84.14 kB / 0.5969 GB, free: 2.152 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1666, allocations: 19.8 kB / 0.5969 GB, free: 2.133 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.1666, allocations: 0 / 0.5969 GB, free: 2.133 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001267/0.1667, allocations: 318.8 kB / 0.5972 GB, free: 1.812 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1669, allocations: 39.97 kB / 0.5972 GB, free: 1.773 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.167, allocations: 39.97 kB / 0.5973 GB, free: 1.734 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1672, allocations: 43.97 kB / 0.5973 GB, free: 1.691 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1672, allocations: 0 / 0.5973 GB, free: 1.691 MB / 446.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003177/0.1675, allocations: 125.5 kB / 0.5974 GB, free: 1.562 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1675, allocations: 7.984 kB / 0.5974 GB, free: 1.555 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1675, allocations: 3.953 kB / 0.5974 GB, free: 1.551 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1676, allocations: 4 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1677, allocations: 23.98 kB / 0.5975 GB, free: 1.523 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1677, allocations: 0 / 0.5975 GB, free: 1.523 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.1678, allocations: 15.98 kB / 0.5975 GB, free: 1.508 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1678, allocations: 0 / 0.5975 GB, free: 1.508 MB / 446.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 (7):
* Single equations (assignments): 7
* 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.127e-05/0.1679, allocations: 113.8 kB / 0.5976 GB, free: 1.387 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.168, allocations: 0 / 0.5976 GB, free: 1.387 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.168, allocations: 11.95 kB / 0.5976 GB, free: 1.371 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.168, allocations: 12.47 kB / 0.5976 GB, free: 1.359 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.168, allocations: 0 / 0.5976 GB, free: 1.359 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.168, allocations: 0 / 0.5976 GB, free: 1.359 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.1687, allocations: 387.3 kB / 0.598 GB, free: 0.9219 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1688, allocations: 0 / 0.598 GB, free: 0.9219 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1689, allocations: 27.97 kB / 0.598 GB, free: 0.8945 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-06/0.1689, allocations: 3.953 kB / 0.598 GB, free: 0.8906 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1689, allocations: 11.95 kB / 0.598 GB, free: 0.8789 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1689, allocations: 7.938 kB / 0.598 GB, free: 0.8711 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1689, allocations: 128 / 0.598 GB, free: 0.8711 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.1695, allocations: 281.9 kB / 0.5983 GB, free: 0.5703 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.1695, allocations: 89.08 kB / 0.5984 GB, free: 476 kB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1696, allocations: 4.062 kB / 0.5984 GB, free: 472 kB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1697, allocations: 15.98 kB / 0.5984 GB, free: 456 kB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1697, allocations: 7.938 kB / 0.5984 GB, free: 448 kB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1698, allocations: 4 kB / 0.5984 GB, free: 444 kB / 446.1 MB
Notification: Performance of sorting global known variables: time 3.3e-05/0.1698, allocations: 79.27 kB / 0.5985 GB, free: 364 kB / 446.1 MB
Notification: Performance of sort global known variables: time 2.1e-07/0.1698, allocations: 0 / 0.5985 GB, free: 364 kB / 446.1 MB
Notification: Performance of remove unused functions: time 0.0002225/0.17, allocations: 12 kB / 0.5985 GB, free: 352 kB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 2
* Number of states: 1 (dp_comp)
* 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 (6):
* Single equations (assignments): 6
* 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.000138/0.1702, allocations: 111.2 kB / 0.5986 GB, free: 232 kB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003053/0.1705, allocations: 87.94 kB / 0.5987 GB, free: 144 kB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1705, allocations: 0 / 0.5987 GB, free: 144 kB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.1706, allocations: 55.89 kB / 0.5987 GB, free: 88 kB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.1708, allocations: 7.234 kB / 0.5988 GB, free: 84 kB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.1716, allocations: 309.9 kB / 0.599 GB, free: 15.74 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1718, allocations: 0.6848 MB / 0.5997 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 6.217e-05/0.1719, allocations: 8 kB / 0.5997 GB, free: 15.02 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.172, allocations: 11.38 kB / 0.5997 GB, free: 15.02 MB / 462.1 MB
Notification: Performance of SimCode: time 2.11e-07/0.172, allocations: 4 kB / 0.5997 GB, free: 15.01 MB / 462.1 MB
Notification: Performance of Templates: time 0.002751/0.1747, allocations: 0.641 MB / 0.6004 GB, free: 14.41 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)
Environment - environmentSimulation: