Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions")
[/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.1566/0.1574, allocations: 82.22 MB / 0.5934 GB, free: 5.984 MB / 446.1 MB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001368/0.1588, allocations: 0.9867 MB / 0.5943 GB, free: 4.984 MB / 446.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007781/0.1596, allocations: 459.8 kB / 0.5948 GB, free: 4.535 MB / 446.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.1596, allocations: 0 / 0.5948 GB, free: 4.535 MB / 446.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1597, allocations: 3.984 kB / 0.5948 GB, free: 4.531 MB / 446.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.1597, allocations: 11.92 kB / 0.5948 GB, free: 4.52 MB / 446.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1602, allocations: 95.7 kB / 0.5949 GB, free: 4.426 MB / 446.1 MB
Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.1602, allocations: 15.98 kB / 0.5949 GB, free: 4.41 MB / 446.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.1603, allocations: 3.984 kB / 0.5949 GB, free: 4.406 MB / 446.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.1603, allocations: 4 kB / 0.5949 GB, free: 4.402 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.1604, allocations: 11.94 kB / 0.5949 GB, free: 4.391 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1604, allocations: 0 / 0.5949 GB, free: 4.391 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005607/0.161, allocations: 359.4 kB / 0.5953 GB, free: 4.039 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.161, allocations: 4 kB / 0.5953 GB, free: 4.035 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.161, allocations: 25.7 kB / 0.5953 GB, free: 4.004 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1612, allocations: 96.09 kB / 0.5954 GB, free: 3.91 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1612, allocations: 4 kB / 0.5954 GB, free: 3.906 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.1612, allocations: 0 / 0.5954 GB, free: 3.906 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 4.319e-06/0.1612, allocations: 0 / 0.5954 GB, free: 3.906 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: 5
* Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.000473/0.1617, allocations: 359.1 kB / 0.5957 GB, free: 3.508 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1618, allocations: 8.031 kB / 0.5957 GB, free: 3.5 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1618, allocations: 0 / 0.5957 GB, free: 3.5 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.162, allocations: 171 kB / 0.5959 GB, free: 3.293 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.162, allocations: 0 / 0.5959 GB, free: 3.293 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.162, allocations: 0 / 0.5959 GB, free: 3.293 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1633, allocations: 237.4 kB / 0.5961 GB, free: 3.055 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1633, allocations: 3.938 kB / 0.5961 GB, free: 3.051 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1633, allocations: 0 / 0.5961 GB, free: 3.051 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1633, allocations: 0 / 0.5961 GB, free: 3.051 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.1643, allocations: 211.8 kB / 0.5963 GB, free: 2.844 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.1647, allocations: 244.9 kB / 0.5966 GB, free: 2.555 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.1658, allocations: 250.4 kB / 0.5968 GB, free: 2.301 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005491/0.1664, allocations: 230.2 kB / 0.597 GB, free: 2.039 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1664, allocations: 30.56 kB / 0.597 GB, free: 2 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.1665, allocations: 0 / 0.597 GB, free: 2 MB / 446.1 MB
Notification: Performance of matching and sorting (n=4): time 0.002107/0.1686, allocations: 441.2 kB / 0.5975 GB, free: 1.562 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1686, allocations: 63.34 kB / 0.5975 GB, free: 1.488 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.382e-05/0.1687, allocations: 98.05 kB / 0.5976 GB, free: 1.383 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1687, allocations: 29.69 kB / 0.5977 GB, free: 1.348 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.1688, allocations: 84.08 kB / 0.5977 GB, free: 1.262 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1688, allocations: 11.81 kB / 0.5977 GB, free: 1.25 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.1688, allocations: 0 / 0.5977 GB, free: 1.25 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001185/0.1689, allocations: 314.8 kB / 0.598 GB, free: 0.9336 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.1692, allocations: 59.94 kB / 0.5981 GB, free: 0.875 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002338/0.1694, allocations: 73.67 kB / 0.5982 GB, free: 0.7969 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1697, allocations: 60.12 kB / 0.5982 GB, free: 0.7383 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1697, allocations: 0 / 0.5982 GB, free: 0.7383 MB / 446.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005063/0.1702, allocations: 169.5 kB / 0.5984 GB, free: 0.5664 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1702, allocations: 4 kB / 0.5984 GB, free: 0.5625 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1703, allocations: 3.984 kB / 0.5984 GB, free: 0.5586 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1703, allocations: 4 kB / 0.5984 GB, free: 0.5547 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1705, allocations: 32 kB / 0.5984 GB, free: 0.5234 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1705, allocations: 4 kB / 0.5984 GB, free: 0.5195 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1706, allocations: 23.98 kB / 0.5985 GB, free: 0.4961 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1707, allocations: 3.984 kB / 0.5985 GB, free: 0.4922 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 2
* 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 (5):
* Single equations (assignments): 5
* 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 8.366e-05/0.1707, allocations: 117.8 kB / 0.5986 GB, free: 376 kB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.1708, allocations: 7.859 kB / 0.5986 GB, free: 368 kB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.1708, allocations: 3.5 kB / 0.5986 GB, free: 360 kB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1708, allocations: 0 / 0.5986 GB, free: 360 kB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1708, allocations: 4 kB / 0.5986 GB, free: 356 kB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1708, allocations: 0 / 0.5986 GB, free: 356 kB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.171, allocations: 181.5 kB / 0.5988 GB, free: 124 kB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.171, allocations: 3.938 kB / 0.5988 GB, free: 120 kB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1712, allocations: 28.09 kB / 0.5988 GB, free: 92 kB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1712, allocations: 4 kB / 0.5988 GB, free: 88 kB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1712, allocations: 3.953 kB / 0.5988 GB, free: 84 kB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.1712, allocations: 4 kB / 0.5988 GB, free: 80 kB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1712, allocations: 4 kB / 0.5988 GB, free: 76 kB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.1718, allocations: 247.4 kB / 0.599 GB, free: 15.82 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1718, allocations: 81.05 kB / 0.5991 GB, free: 15.72 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.1719, allocations: 0 / 0.5991 GB, free: 15.72 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.172, allocations: 31.92 kB / 0.5992 GB, free: 15.69 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.1721, allocations: 4 kB / 0.5992 GB, free: 15.68 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1721, allocations: 0 / 0.5992 GB, free: 15.68 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 3.381e-05/0.1721, allocations: 79.28 kB / 0.5992 GB, free: 15.61 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 0.5992 GB, free: 15.61 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0002222/0.1724, allocations: 12 kB / 0.5992 GB, free: 15.59 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 (4):
* Single equations (assignments): 4
* 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.0001021/0.1725, allocations: 107.2 kB / 0.5993 GB, free: 15.48 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005018/0.173, allocations: 124 kB / 0.5995 GB, free: 15.36 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.173, allocations: 0 / 0.5995 GB, free: 15.36 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000228/0.1732, allocations: 63.89 kB / 0.5995 GB, free: 15.3 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.1734, allocations: 4 kB / 0.5995 GB, free: 15.29 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.174, allocations: 212.5 kB / 0.5997 GB, free: 15.05 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1742, allocations: 0.6809 MB / 0.6004 GB, free: 14.35 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 8.744e-05/0.1743, allocations: 15.91 kB / 0.6004 GB, free: 14.33 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.1744, allocations: 11.44 kB / 0.6004 GB, free: 14.32 MB / 462.1 MB
Notification: Performance of SimCode: time 2.7e-07/0.1744, allocations: 3.938 kB / 0.6004 GB, free: 14.32 MB / 462.1 MB
Notification: Performance of Templates: time 0.002127/0.1765, allocations: 0.4892 MB / 0.6009 GB, free: 13.86 MB / 462.1 MB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile
Environment - environmentSimulation:
(rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)
Environment - environmentSimulation: