Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp")
[/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.1611/0.1619, allocations: 82.22 MB / 0.5934 GB, free: 6 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001329/0.1632, allocations: 0.9633 MB / 0.5943 GB, free: 5.023 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004732/0.1637, allocations: 287.3 kB / 0.5946 GB, free: 4.742 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.1638, allocations: 0 / 0.5946 GB, free: 4.742 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.1638, allocations: 4 kB / 0.5946 GB, free: 4.738 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.1638, allocations: 8 kB / 0.5946 GB, free: 4.73 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.1642, allocations: 67.75 kB / 0.5947 GB, free: 4.664 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 4.213e-05/0.1642, allocations: 0 / 0.5947 GB, free: 4.664 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.1643, allocations: 4 kB / 0.5947 GB, free: 4.66 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.555e-05/0.1643, allocations: 0 / 0.5947 GB, free: 4.66 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.1643, allocations: 7.938 kB / 0.5947 GB, free: 4.652 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1643, allocations: 0 / 0.5947 GB, free: 4.652 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.1647, allocations: 211.7 kB / 0.5949 GB, free: 4.445 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.252e-06/0.1647, allocations: 0 / 0.5949 GB, free: 4.445 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.1647, allocations: 29.64 kB / 0.5949 GB, free: 4.41 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1648, allocations: 56.16 kB / 0.595 GB, free: 4.355 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1648, allocations: 0 / 0.595 GB, free: 4.355 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.1649, allocations: 0 / 0.595 GB, free: 4.355 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.188e-06/0.1649, allocations: 0 / 0.595 GB, free: 4.355 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: 2
* Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0003577/0.1652, allocations: 331.3 kB / 0.5953 GB, free: 3.984 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1653, allocations: 11.97 kB / 0.5953 GB, free: 3.973 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.1653, allocations: 4 kB / 0.5953 GB, free: 3.969 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1654, allocations: 167.1 kB / 0.5954 GB, free: 3.766 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1654, allocations: 0 / 0.5954 GB, free: 3.766 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1655, allocations: 3.984 kB / 0.5954 GB, free: 3.762 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008572/0.1663, allocations: 173.5 kB / 0.5956 GB, free: 3.586 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1663, allocations: 0 / 0.5956 GB, free: 3.586 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1664, allocations: 0 / 0.5956 GB, free: 3.586 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1664, allocations: 4 kB / 0.5956 GB, free: 3.582 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.1671, allocations: 139.8 kB / 0.5958 GB, free: 3.445 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1672, allocations: 145.7 kB / 0.5959 GB, free: 3.254 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007023/0.1679, allocations: 158.5 kB / 0.596 GB, free: 3.09 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.1682, allocations: 113.1 kB / 0.5961 GB, free: 2.961 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1683, allocations: 38.56 kB / 0.5962 GB, free: 2.914 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1683, allocations: 0 / 0.5962 GB, free: 2.914 MB / 446.1 MB
Notification: Performance of matching and sorting (n=2): time 0.001455/0.1697, allocations: 305.4 kB / 0.5965 GB, free: 2.609 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1698, allocations: 55.41 kB / 0.5965 GB, free: 2.543 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.1699, allocations: 101.8 kB / 0.5966 GB, free: 2.434 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1699, allocations: 29.7 kB / 0.5967 GB, free: 2.398 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.1699, allocations: 84.14 kB / 0.5967 GB, free: 2.312 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.17, allocations: 3.906 kB / 0.5967 GB, free: 2.309 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.17, allocations: 0 / 0.5967 GB, free: 2.309 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001153/0.1701, allocations: 310.8 kB / 0.597 GB, free: 1.996 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1703, allocations: 40.09 kB / 0.5971 GB, free: 1.957 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1704, allocations: 35.97 kB / 0.5971 GB, free: 1.922 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1706, allocations: 36.03 kB / 0.5971 GB, free: 1.887 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1706, allocations: 0 / 0.5971 GB, free: 1.887 MB / 446.1 MB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003307/0.1709, allocations: 105.6 kB / 0.5972 GB, free: 1.777 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.171, allocations: 4 kB / 0.5972 GB, free: 1.773 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.171, allocations: 3.938 kB / 0.5972 GB, free: 1.77 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.171, allocations: 3.953 kB / 0.5973 GB, free: 1.766 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.1735, allocations: 447.6 kB / 0.5977 GB, free: 1.328 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.1774, allocations: 1.887 MB / 0.5995 GB, free: 15.31 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.1775, allocations: 15.95 kB / 0.5995 GB, free: 15.29 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1775, allocations: 4 kB / 0.5995 GB, free: 15.29 MB / 462.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 (2):
* Single equations (assignments): 1
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 1
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details:
* Constant Jacobian: 0
* Linear Jacobian (size,density): 0
* Non-linear Jacobian: 1 {1}
* Without analytic Jacobian: 0
Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/0.1776, allocations: 109.8 kB / 0.5996 GB, free: 15.17 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.1776, allocations: 4 kB / 0.5997 GB, free: 15.17 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.1777, allocations: 7.125 kB / 0.5997 GB, free: 15.16 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1777, allocations: 7.938 kB / 0.5997 GB, free: 15.15 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1777, allocations: 4 kB / 0.5997 GB, free: 15.15 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1777, allocations: 4 kB / 0.5997 GB, free: 15.14 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.1778, allocations: 157.6 kB / 0.5998 GB, free: 14.94 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1778, allocations: 0 / 0.5998 GB, free: 14.94 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/0.1802, allocations: 455.5 kB / 0.6003 GB, free: 14.5 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1802, allocations: 0 / 0.6003 GB, free: 14.5 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1802, allocations: 0 / 0.6003 GB, free: 14.5 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003691/0.1839, allocations: 1.887 MB / 0.6021 GB, free: 12.48 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.184, allocations: 0 / 0.6021 GB, free: 12.48 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1843, allocations: 129.2 kB / 0.6022 GB, free: 12.34 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.1844, allocations: 77.11 kB / 0.6023 GB, free: 12.24 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1844, allocations: 12.02 kB / 0.6023 GB, free: 12.23 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1845, allocations: 11.98 kB / 0.6023 GB, free: 12.22 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.1845, allocations: 7.953 kB / 0.6023 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1845, allocations: 0 / 0.6023 GB, free: 12.21 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 3.748e-05/0.1846, allocations: 83.22 kB / 0.6024 GB, free: 12.13 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1846, allocations: 0 / 0.6024 GB, free: 12.13 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0002177/0.1848, allocations: 16.09 kB / 0.6024 GB, free: 12.11 MB / 462.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 (2):
* Single equations (assignments): 1
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 1
* Torn equation systems: 0
* Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details:
* Constant Jacobian: 0
* Linear Jacobian (size,density): 0
* Non-linear Jacobian: 1 {1}
* Without analytic Jacobian: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001268/0.1849, allocations: 99.23 kB / 0.6025 GB, free: 12.01 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.002762/0.1877, allocations: 0.5229 MB / 0.603 GB, free: 11.48 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1877, allocations: 3.938 kB / 0.603 GB, free: 11.48 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003946/0.1917, allocations: 0.6947 MB / 0.6037 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1918, allocations: 0 / 0.6037 GB, free: 10.79 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.1952, allocations: 0.7797 MB / 0.6045 GB, free: 9.977 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1954, allocations: 0.677 MB / 0.6051 GB, free: 9.273 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 1.695e-05/0.1954, allocations: 0 / 0.6051 GB, free: 9.273 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.1954, allocations: 11.44 kB / 0.6051 GB, free: 9.262 MB / 462.1 MB
Notification: Performance of SimCode: time 5.71e-07/0.1954, allocations: 0 / 0.6051 GB, free: 9.262 MB / 462.1 MB
Notification: Performance of Templates: time 0.00223/0.1976, allocations: 498.4 kB / 0.6056 GB, free: 8.812 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)
Environment - environmentSimulation: