Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.59/1.59, allocations: 287.4 MB / 303.2 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009013/0.0009016, allocations: 189.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007352/0.0007351, allocations: 98.33 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 13.12 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001057/0.1625, allocations: 1.002 MB / 0.9803 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006922/0.1632, allocations: 0.5572 MB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.1632, allocations: 4 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.1633, allocations: 3.984 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.1633, allocations: 3.984 kB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.1638, allocations: 120.8 kB / 0.9809 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.1639, allocations: 27.86 kB / 0.981 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1639, allocations: 3.984 kB / 0.981 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.1639, allocations: 15.94 kB / 0.981 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/0.164, allocations: 15.92 kB / 0.981 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.164, allocations: 8 kB / 0.981 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1644, allocations: 335.3 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.938e-06/0.1644, allocations: 3.938 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.1645, allocations: 33.7 kB / 0.9814 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1646, allocations: 100.1 kB / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1646, allocations: 0 / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1646, allocations: 0 / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1647, allocations: 0 / 0.9815 GB, free: 25.97 MB / 0.6198 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.0003237/0.165, allocations: 363.3 kB / 0.9818 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.165, allocations: 12.03 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1651, allocations: 4.938 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.1652, allocations: 168.3 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1652, allocations: 4.375 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1652, allocations: 4.375 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1653, allocations: 50.23 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1653, allocations: 192 / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1653, allocations: 7.938 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1654, allocations: 4 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.1654, allocations: 15.98 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.1655, allocations: 169.6 kB / 0.9822 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.1656, allocations: 66.5 kB / 0.9823 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.1657, allocations: 24.84 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1657, allocations: 3.938 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.1657, allocations: 34.56 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1657, allocations: 4 kB / 0.9824 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008813/0.1666, allocations: 0.5801 MB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.416e-05/0.1666, allocations: 55.41 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.056e-05/0.1667, allocations: 93.94 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1667, allocations: 33.73 kB / 0.9831 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.1667, allocations: 88.08 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1667, allocations: 39.34 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1668, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/0.1668, allocations: 322.9 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.1668, allocations: 23.92 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.1669, allocations: 22 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.167, allocations: 56.84 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.167, allocations: 0 / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001157/0.1671, allocations: 103.3 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1671, allocations: 4 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1671, allocations: 0 / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1671, allocations: 0 / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.1672, allocations: 31.92 kB / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1672, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.1673, allocations: 0 / 0.9838 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1673, allocations: 4 kB / 0.9838 GB, free: 23.31 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.1673, allocations: 117.8 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1674, allocations: 7.938 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.1675, allocations: 121.6 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1675, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1675, allocations: 0 / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.1676, allocations: 81.02 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1676, allocations: 0 / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.1676, allocations: 15.98 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1677, allocations: 4 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001736/0.1678, allocations: 176.9 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001929/0.1681, allocations: 298.6 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.035e-05/0.1681, allocations: 24.02 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.461e-05/0.1681, allocations: 83.28 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of Backend: time 2.3e-07/0.1681, allocations: 0 / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004381/0.1686, allocations: 179.3 kB / 0.9848 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004137/0.169, allocations: 0.7594 MB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.00307/0.1721, allocations: 1.443 MB / 0.987 GB, free: 19.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)