Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.561/1.561, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0009953/0.0009953, allocations: 182.8 kB / 372.3 MB, free: 10.1 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.416/1.416, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0009682/0.0009681, allocations: 100.8 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003832, allocations: 13.31 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1696, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001291/0.171, allocations: 1.183 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.1718, allocations: 0.5814 MB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1718, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.1719, allocations: 0 / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.1719, allocations: 7.922 kB / 0.9819 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.1725, allocations: 138 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.1726, allocations: 51.59 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.1726, allocations: 4 kB / 0.9821 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.1727, allocations: 23.92 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.1727, allocations: 27.89 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1727, allocations: 4 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.1732, allocations: 331.3 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.1732, allocations: 15.92 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.1732, allocations: 45.62 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1734, allocations: 124 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1734, allocations: 3.938 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1734, allocations: 0 / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1734, allocations: 0 / 0.9827 GB, free: 24.69 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005003/0.174, allocations: 388.7 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.174, allocations: 8.031 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.174, allocations: 42.75 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1741, allocations: 8.844 kB / 0.9831 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.1742, allocations: 172.2 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1742, allocations: 8.375 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1742, allocations: 4.375 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.1745, allocations: 86.16 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1745, allocations: 3.938 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1745, allocations: 4 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1745, allocations: 8 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1748, allocations: 59.89 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.1753, allocations: 324.7 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.1755, allocations: 90.47 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1756, allocations: 32.84 kB / 0.9838 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1757, allocations: 7.984 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.1757, allocations: 34.55 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1757, allocations: 0 / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001522/0.1772, allocations: 0.6697 MB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.1773, allocations: 59.39 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.1773, allocations: 97.8 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1773, allocations: 29.7 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.1774, allocations: 92.03 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1774, allocations: 35.47 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.1774, allocations: 4 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.1775, allocations: 318.8 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1776, allocations: 35.98 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1777, allocations: 31.97 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.178, allocations: 93.83 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.178, allocations: 0 / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002946/0.1783, allocations: 127.8 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1783, allocations: 4 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1783, allocations: 4 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1783, allocations: 4 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1785, allocations: 23.98 kB / 0.9855 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1785, allocations: 7.922 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.1786, allocations: 19.94 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1786, allocations: 0 / 0.9855 GB, free: 21.48 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 6.004e-05/0.1787, allocations: 131.3 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1787, allocations: 7.906 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.1791, allocations: 129.6 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1791, allocations: 4 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1791, allocations: 3.938 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1791, allocations: 0 / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004553/0.1796, allocations: 394.4 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1796, allocations: 0 / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1797, allocations: 32.08 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1797, allocations: 7.875 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1798, allocations: 0 / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1798, allocations: 8 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1798, allocations: 3.938 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.1802, allocations: 263.6 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.1803, allocations: 81.14 kB / 0.9865 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.1803, allocations: 7.922 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1804, allocations: 12 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.1804, allocations: 7.984 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.1804, allocations: 0 / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.053e-05/0.1805, allocations: 79.28 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1805, allocations: 0 / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002561/0.1807, allocations: 39.98 kB / 0.9866 GB, free: 20.19 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006963/0.1814, allocations: 0.8375 MB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1818, allocations: 95.88 kB / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1818, allocations: 0 / 0.9876 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1819, allocations: 48.05 kB / 0.9876 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1822, allocations: 15.97 kB / 0.9876 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1834, allocations: 0.7464 MB / 0.9883 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1835, allocations: 0.6965 MB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.587e-05/0.1836, allocations: 8.656 kB / 0.989 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.1836, allocations: 27.42 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1837, allocations: 4 kB / 0.9891 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.1963, allocations: 2.057 MB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.1965, allocations: 243.9 kB / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.985, allocations: 3 kB / 0.9913 GB, free: 15.54 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)