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.151/0.1532, allocations: 80.84 MB / 0.5904 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002399/0.1556, allocations: 1.285 MB / 0.5917 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.1565, allocations: 0.5294 MB / 0.5922 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1566, allocations: 0 / 0.5922 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.1566, allocations: 3.938 kB / 0.5922 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.1566, allocations: 7.938 kB / 0.5922 GB, free: 4.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.1571, allocations: 119.5 kB / 0.5923 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.1572, allocations: 31.86 kB / 0.5923 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.1572, allocations: 3.984 kB / 0.5924 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.1573, allocations: 15.98 kB / 0.5924 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.1573, allocations: 15.92 kB / 0.5924 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1574, allocations: 8 kB / 0.5924 GB, free: 4.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004948/0.1579, allocations: 343.4 kB / 0.5927 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1579, allocations: 7.984 kB / 0.5927 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.1579, allocations: 19.86 kB / 0.5927 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1582, allocations: 143.9 kB / 0.5929 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1582, allocations: 0 / 0.5929 GB, free: 4.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1582, allocations: 0 / 0.5929 GB, free: 4.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1582, allocations: 0 / 0.5929 GB, free: 4.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004154/0.1587, allocations: 371.3 kB / 0.5932 GB, free: 3.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1587, allocations: 8.031 kB / 0.5932 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.1587, allocations: 4.938 kB / 0.5932 GB, free: 3.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1589, allocations: 168.3 kB / 0.5934 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.1589, allocations: 4.375 kB / 0.5934 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.1589, allocations: 8.375 kB / 0.5934 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.1593, allocations: 77.7 kB / 0.5935 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1593, allocations: 7.906 kB / 0.5935 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1593, allocations: 8 kB / 0.5935 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1593, allocations: 3.938 kB / 0.5935 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.1596, allocations: 47.94 kB / 0.5936 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1598, allocations: 161.7 kB / 0.5937 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.1601, allocations: 98.5 kB / 0.5938 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.1602, allocations: 28.8 kB / 0.5938 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/0.1605, allocations: 105.1 kB / 0.5939 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1606, allocations: 34.5 kB / 0.594 GB, free: 2.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1606, allocations: 0 / 0.594 GB, free: 2.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.005195/0.1658, allocations: 1.152 MB / 0.5951 GB, free: 1.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1658, allocations: 51.41 kB / 0.5951 GB, free: 1.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.1659, allocations: 101.9 kB / 0.5952 GB, free: 1.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1659, allocations: 25.7 kB / 0.5953 GB, free: 1.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.166, allocations: 84.14 kB / 0.5953 GB, free: 1.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.166, allocations: 43.39 kB / 0.5954 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1661, allocations: 25.83 kB / 0.5954 GB, free: 1.188 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1662, allocations: 322.8 kB / 0.5957 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1664, allocations: 51.95 kB / 0.5958 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.1666, allocations: 59.95 kB / 0.5958 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.167, allocations: 120.8 kB / 0.5959 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.167, allocations: 3.938 kB / 0.5959 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004476/0.1675, allocations: 165.5 kB / 0.5961 GB, free: 472 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1675, allocations: 4 kB / 0.5961 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1675, allocations: 4 kB / 0.5961 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1675, allocations: 3.984 kB / 0.5961 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.1678, allocations: 35.97 kB / 0.5961 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1678, allocations: 0 / 0.5961 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1679, allocations: 11.98 kB / 0.5962 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.168, allocations: 8.781 kB / 0.5962 GB, free: 404 kB / 446.1 MB 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.0001083/0.1681, allocations: 129.6 kB / 0.5963 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1681, allocations: 4.094 kB / 0.5963 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.1682, allocations: 11.91 kB / 0.5963 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1682, allocations: 4 kB / 0.5963 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1682, allocations: 0 / 0.5963 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1682, allocations: 0 / 0.5963 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/0.169, allocations: 430.3 kB / 0.5967 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.169, allocations: 8 kB / 0.5967 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1693, allocations: 35.91 kB / 0.5968 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1693, allocations: 0 / 0.5968 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1693, allocations: 4 kB / 0.5968 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1693, allocations: 7.984 kB / 0.5968 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1693, allocations: 0 / 0.5968 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.17, allocations: 323.3 kB / 0.5971 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.1701, allocations: 81.02 kB / 0.5972 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1701, allocations: 0 / 0.5972 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1703, allocations: 28 kB / 0.5972 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.1704, allocations: 8.062 kB / 0.5972 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1704, allocations: 11.92 kB / 0.5972 GB, free: 15.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.1705, allocations: 83.22 kB / 0.5973 GB, free: 15.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1705, allocations: 0 / 0.5973 GB, free: 15.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1707, allocations: 16 kB / 0.5973 GB, free: 15.13 MB / 462.1 MB 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.0001342/0.1708, allocations: 107.2 kB / 0.5974 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.1713, allocations: 143.7 kB / 0.5975 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1713, allocations: 0 / 0.5975 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1716, allocations: 67.94 kB / 0.5976 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.1718, allocations: 8.609 kB / 0.5976 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.173, allocations: 422.5 kB / 0.598 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1733, allocations: 0.6885 MB / 0.5987 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1734, allocations: 19.92 kB / 0.5987 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.1735, allocations: 11.44 kB / 0.5987 GB, free: 13.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1735, allocations: 0 / 0.5987 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Templates: time 0.003108/0.1766, allocations: 0.9232 MB / 0.5996 GB, free: 12.74 MB / 462.1 MB 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)