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.1718/0.174, allocations: 80.82 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00243/0.1764, allocations: 1.279 MB / 0.6719 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.1774, allocations: 0.522 MB / 0.6724 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.1774, allocations: 4 kB / 0.6724 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.1774, allocations: 3.938 kB / 0.6724 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.1775, allocations: 7.922 kB / 0.6724 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1781, allocations: 131.5 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.1781, allocations: 23.86 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.1782, allocations: 4 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1782, allocations: 4 kB / 0.6726 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.1783, allocations: 15.86 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1783, allocations: 0 / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.1789, allocations: 347.4 kB / 0.6729 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.179, allocations: 3.984 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.179, allocations: 15.92 kB / 0.6729 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1792, allocations: 131.7 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1792, allocations: 0 / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.766e-06/0.1792, allocations: 4 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.1793, allocations: 0 / 0.673 GB, free: 15.54 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.0004263/0.1797, allocations: 351.4 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1797, allocations: 12.03 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.1798, allocations: 4.844 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1799, allocations: 160.4 kB / 0.6736 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1799, allocations: 12.31 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1799, allocations: 4.375 kB / 0.6736 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1803, allocations: 73.58 kB / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1803, allocations: 0 / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1803, allocations: 0 / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1803, allocations: 0 / 0.6736 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1806, allocations: 43.94 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1808, allocations: 157.7 kB / 0.6738 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.1812, allocations: 78.45 kB / 0.6739 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.1813, allocations: 16.86 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.1816, allocations: 109.1 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1816, allocations: 34.56 kB / 0.6741 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1816, allocations: 0 / 0.6741 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.002712/0.1843, allocations: 0.6033 MB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1844, allocations: 51.41 kB / 0.6747 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1844, allocations: 102.1 kB / 0.6748 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.1845, allocations: 25.7 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1845, allocations: 80.14 kB / 0.6749 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1845, allocations: 27.64 kB / 0.6749 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1846, allocations: 21.72 kB / 0.6749 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.1847, allocations: 318.8 kB / 0.6752 GB, free: 13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1848, allocations: 27.97 kB / 0.6753 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1849, allocations: 35.95 kB / 0.6753 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1852, allocations: 76.75 kB / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1852, allocations: 0 / 0.6754 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002928/0.1855, allocations: 117.5 kB / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1855, allocations: 4.781 kB / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1855, allocations: 0 / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1856, allocations: 4.188 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1857, allocations: 19.92 kB / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1857, allocations: 4 kB / 0.6755 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.1858, allocations: 11.98 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1858, allocations: 0 / 0.6755 GB, free: 12.7 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.913e-05/0.1859, allocations: 125.7 kB / 0.6757 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.1859, allocations: 3.984 kB / 0.6757 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1859, allocations: 11.97 kB / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.186, allocations: 0 / 0.6757 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.186, allocations: 4.062 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.186, allocations: 4 kB / 0.6757 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.1866, allocations: 367.3 kB / 0.676 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1866, allocations: 0 / 0.676 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1868, allocations: 23.97 kB / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1868, allocations: 0 / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1868, allocations: 4.031 kB / 0.6761 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1868, allocations: 0 / 0.6761 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1868, allocations: 4 kB / 0.6761 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.1873, allocations: 252.1 kB / 0.6763 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1874, allocations: 85.12 kB / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1874, allocations: 0 / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1875, allocations: 15.92 kB / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.1875, allocations: 0 / 0.6764 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.1876, allocations: 11.98 kB / 0.6764 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.1876, allocations: 79.22 kB / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1876, allocations: 0 / 0.6765 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002324/0.1878, allocations: 12 kB / 0.6765 GB, free: 11.59 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.0001205/0.188, allocations: 111.3 kB / 0.6766 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1883, allocations: 75.86 kB / 0.6767 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1883, allocations: 0 / 0.6767 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1884, allocations: 39.97 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1887, allocations: 4.062 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.1894, allocations: 268.5 kB / 0.677 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1897, allocations: 0.6768 MB / 0.6776 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.824e-05/0.1898, allocations: 8 kB / 0.6776 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.1898, allocations: 11.44 kB / 0.6776 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1898, allocations: 4 kB / 0.6777 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.002954/0.1928, allocations: 0.7138 MB / 0.6783 GB, free: 9.668 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)