Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [/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.1536/0.1557, allocations: 80.84 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002184/0.1579, allocations: 1.272 MB / 0.6719 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009876/0.1589, allocations: 0.5336 MB / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.1589, allocations: 0 / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.159, allocations: 0 / 0.6724 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.159, allocations: 7.922 kB / 0.6724 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.1597, allocations: 139.4 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.541e-05/0.1598, allocations: 31.84 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.1598, allocations: 4 kB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.1599, allocations: 4 kB / 0.6726 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.16, allocations: 16 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.16, allocations: 4 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.1606, allocations: 351.3 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1607, allocations: 8 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.1607, allocations: 15.94 kB / 0.673 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.161, allocations: 139.6 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.161, allocations: 0 / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.477e-06/0.161, allocations: 0 / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.161, allocations: 3.938 kB / 0.6731 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005289/0.1616, allocations: 359.5 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1616, allocations: 8.031 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.1617, allocations: 12.83 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1619, allocations: 172.3 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1619, allocations: 384 / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1619, allocations: 8.375 kB / 0.6736 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.1626, allocations: 125.5 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1626, allocations: 4 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1626, allocations: 0 / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1626, allocations: 4 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.1631, allocations: 83.89 kB / 0.6738 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.1633, allocations: 165.7 kB / 0.674 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.1639, allocations: 142.4 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.1639, allocations: 20.86 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/0.1643, allocations: 113 kB / 0.6743 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1643, allocations: 42.55 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1643, allocations: 0 / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.008469/0.1728, allocations: 1.804 MB / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1729, allocations: 51.41 kB / 0.6761 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.1729, allocations: 97.84 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.173, allocations: 29.7 kB / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.173, allocations: 84.27 kB / 0.6763 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.1731, allocations: 39.45 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.1731, allocations: 29.7 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1732, allocations: 314.8 kB / 0.6767 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.1737, allocations: 99.91 kB / 0.6768 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.1741, allocations: 95.91 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000817/0.1749, allocations: 216.6 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1749, allocations: 0 / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008913/0.1758, allocations: 256.8 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1758, allocations: 4 kB / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1758, allocations: 0 / 0.6773 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1759, allocations: 7.984 kB / 0.6773 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.1762, allocations: 63.88 kB / 0.6774 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1763, allocations: 0 / 0.6774 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1765, allocations: 35.97 kB / 0.6774 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1766, allocations: 15.92 kB / 0.6774 GB, free: 10.71 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 (13): * Single equations (assignments): 13 * 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 0.0001068/0.1767, allocations: 117.8 kB / 0.6775 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1767, allocations: 3.906 kB / 0.6775 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1768, allocations: 19.97 kB / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1768, allocations: 0 / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1768, allocations: 0 / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1768, allocations: 0 / 0.6776 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.178, allocations: 0.5215 MB / 0.6781 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.178, allocations: 0 / 0.6781 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.1784, allocations: 59.94 kB / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1784, allocations: 0 / 0.6781 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1784, allocations: 4 kB / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1784, allocations: 0 / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.1784, allocations: 0 / 0.6781 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.1798, allocations: 467 kB / 0.6786 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.1798, allocations: 85.12 kB / 0.6787 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.1799, allocations: 0 / 0.6787 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.1802, allocations: 44.02 kB / 0.6787 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.1802, allocations: 4 kB / 0.6787 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1803, allocations: 11.92 kB / 0.6787 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.1803, allocations: 79.28 kB / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1803, allocations: 96 / 0.6788 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002597/0.1806, allocations: 23.94 kB / 0.6788 GB, free: 9.168 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (11): * Single equations (assignments): 11 * 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.0001395/0.1807, allocations: 107.2 kB / 0.6789 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009248/0.1817, allocations: 227.8 kB / 0.6791 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1817, allocations: 0 / 0.6791 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.1821, allocations: 111.8 kB / 0.6792 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1824, allocations: 12 kB / 0.6793 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1846, allocations: 0.5708 MB / 0.6798 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1849, allocations: 0.6855 MB / 0.6805 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.185, allocations: 23.98 kB / 0.6805 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.1851, allocations: 11.44 kB / 0.6805 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1851, allocations: 0 / 0.6805 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.003482/0.1886, allocations: 1.148 MB / 0.6816 GB, free: 6.262 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)