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.1492/0.1512, allocations: 80.84 MB / 0.6706 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002387/0.1537, allocations: 1.273 MB / 0.6719 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009297/0.1546, allocations: 0.5258 MB / 0.6724 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.1547, allocations: 0 / 0.6724 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.1547, allocations: 3.938 kB / 0.6724 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.738e-05/0.1547, allocations: 7.938 kB / 0.6724 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.1552, allocations: 131.4 kB / 0.6725 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.1553, allocations: 15.92 kB / 0.6725 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.1553, allocations: 4 kB / 0.6725 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.1554, allocations: 15.97 kB / 0.6726 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.1554, allocations: 7.938 kB / 0.6726 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1554, allocations: 0 / 0.6726 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.156, allocations: 355.4 kB / 0.6729 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.156, allocations: 0 / 0.6729 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.156, allocations: 7.938 kB / 0.6729 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1563, allocations: 139.6 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1563, allocations: 0 / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1563, allocations: 0 / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1563, allocations: 0 / 0.673 GB, free: 15.61 MB / 0.5137 GB 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.0004079/0.1567, allocations: 355.4 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1567, allocations: 8.031 kB / 0.6734 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.1568, allocations: 12.84 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1569, allocations: 164.4 kB / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1569, allocations: 384 / 0.6736 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.157, allocations: 8.375 kB / 0.6736 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.1573, allocations: 73.58 kB / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1573, allocations: 0 / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1574, allocations: 0 / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1574, allocations: 0 / 0.6736 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1576, allocations: 47.89 kB / 0.6737 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.1579, allocations: 153.7 kB / 0.6738 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.1582, allocations: 74.56 kB / 0.6739 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.1583, allocations: 20.94 kB / 0.6739 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.1586, allocations: 117 kB / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1586, allocations: 30.56 kB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1586, allocations: 0 / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.002695/0.1613, allocations: 0.6033 MB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1614, allocations: 55.34 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.1614, allocations: 93.86 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.1615, allocations: 37.64 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.1615, allocations: 80.14 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1616, allocations: 23.64 kB / 0.6749 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1616, allocations: 17.72 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1617, allocations: 318.8 kB / 0.6753 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1619, allocations: 31.97 kB / 0.6753 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.162, allocations: 35.97 kB / 0.6753 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.1622, allocations: 68.8 kB / 0.6754 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1622, allocations: 0 / 0.6754 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003193/0.1626, allocations: 117.4 kB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1626, allocations: 4 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1626, allocations: 4 kB / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1626, allocations: 0 / 0.6755 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1628, allocations: 23.97 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1628, allocations: 0 / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.1629, allocations: 11.98 kB / 0.6755 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1629, allocations: 0 / 0.6755 GB, free: 12.77 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.627e-05/0.1629, allocations: 117.8 kB / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.163, allocations: 0 / 0.6756 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.163, allocations: 7.969 kB / 0.6757 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.163, allocations: 4 kB / 0.6757 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.163, allocations: 0 / 0.6757 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.163, allocations: 3.938 kB / 0.6757 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.1637, allocations: 379.3 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1637, allocations: 4 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1639, allocations: 20.02 kB / 0.676 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1639, allocations: 4 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1639, allocations: 0 / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1639, allocations: 0 / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1639, allocations: 3.984 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.1644, allocations: 248.1 kB / 0.6763 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.1645, allocations: 85.09 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1645, allocations: 4.031 kB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1646, allocations: 7.984 kB / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.1647, allocations: 11.92 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1647, allocations: 4 kB / 0.6764 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.1647, allocations: 87.28 kB / 0.6765 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1647, allocations: 0 / 0.6765 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002429/0.165, allocations: 12 kB / 0.6765 GB, free: 11.67 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.1651, allocations: 99.23 kB / 0.6766 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.1654, allocations: 83.86 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1654, allocations: 4 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1656, allocations: 39.91 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.1658, allocations: 4.656 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.1666, allocations: 252.5 kB / 0.677 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1668, allocations: 0.6846 MB / 0.6776 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.1669, allocations: 8 kB / 0.6776 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.167, allocations: 15.42 kB / 0.6776 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.167, allocations: 4 kB / 0.6777 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.002911/0.1699, allocations: 0.7149 MB / 0.6783 GB, free: 9.746 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (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)