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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.1585/0.1605, allocations: 80.84 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002339/0.1629, allocations: 1.28 MB / 0.6719 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.1638, allocations: 0.5259 MB / 0.6724 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.1638, allocations: 7.875 kB / 0.6724 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1638, allocations: 7.922 kB / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.1639, allocations: 7.922 kB / 0.6724 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1643, allocations: 127.5 kB / 0.6725 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.017e-05/0.1644, allocations: 27.92 kB / 0.6726 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.1645, allocations: 7.984 kB / 0.6726 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.1645, allocations: 8.047 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.1646, allocations: 23.8 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1646, allocations: 4 kB / 0.6726 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1651, allocations: 343.4 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1651, allocations: 11.92 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.1651, allocations: 15.94 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1654, allocations: 139.6 kB / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1654, allocations: 0 / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1654, allocations: 0 / 0.6731 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1654, allocations: 0 / 0.6731 GB, free: 15.47 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.0004511/0.1659, allocations: 363.5 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1659, allocations: 8.031 kB / 0.6735 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.166, allocations: 8.844 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1661, allocations: 164.3 kB / 0.6736 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1661, allocations: 8.375 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1661, allocations: 12.36 kB / 0.6736 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1665, allocations: 85.52 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1665, allocations: 0 / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1665, allocations: 0 / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1666, allocations: 0 / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.1668, allocations: 55.92 kB / 0.6738 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.167, allocations: 161.7 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.1673, allocations: 90.52 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/0.1674, allocations: 32.78 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.1677, allocations: 113 kB / 0.6742 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1677, allocations: 34.56 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1677, allocations: 4 kB / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.00515/0.1729, allocations: 1.153 MB / 0.6753 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.1729, allocations: 55.41 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.173, allocations: 97.86 kB / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.173, allocations: 29.7 kB / 0.6755 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.1731, allocations: 80.14 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1731, allocations: 39.45 kB / 0.6756 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.1732, allocations: 29.7 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1733, allocations: 310.8 kB / 0.6759 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1735, allocations: 64.06 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.1737, allocations: 54.2 kB / 0.676 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.1741, allocations: 116.7 kB / 0.6761 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1741, allocations: 3.938 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004486/0.1745, allocations: 169.6 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1746, allocations: 4 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1746, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1746, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1748, allocations: 43.89 kB / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1749, allocations: 0 / 0.6764 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.175, allocations: 19.98 kB / 0.6764 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.175, allocations: 4 kB / 0.6764 GB, free: 11.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 (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 8.68e-05/0.1751, allocations: 121.7 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.1752, allocations: 3.906 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.1752, allocations: 15.95 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1752, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1752, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1752, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007328/0.176, allocations: 438.5 kB / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.176, allocations: 0 / 0.6769 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.1762, allocations: 35.91 kB / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1763, allocations: 0 / 0.677 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1763, allocations: 11.94 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1763, allocations: 4 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1763, allocations: 0 / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/0.177, allocations: 325.6 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.1771, allocations: 77.11 kB / 0.6774 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1771, allocations: 8.031 kB / 0.6774 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1773, allocations: 15.97 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.1773, allocations: 11.94 kB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1774, allocations: 12.02 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.1774, allocations: 83.22 kB / 0.6775 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1774, allocations: 0 / 0.6775 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002839/0.1777, allocations: 20.16 kB / 0.6775 GB, free: 10.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000129/0.1778, allocations: 107.2 kB / 0.6776 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.1783, allocations: 135.8 kB / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1783, allocations: 0 / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.1785, allocations: 71.94 kB / 0.6778 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1788, allocations: 8 kB / 0.6778 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.18, allocations: 412.6 kB / 0.6782 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1803, allocations: 0.6855 MB / 0.6789 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.1804, allocations: 15.98 kB / 0.6789 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.1805, allocations: 15.44 kB / 0.6789 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of SimCode: time 5.62e-07/0.1805, allocations: 0 / 0.6789 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.003397/0.1839, allocations: 0.9282 MB / 0.6798 GB, free: 8.117 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)