Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 189.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 66.38 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1765, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00199/0.1786, allocations: 1.34 MB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.1794, allocations: 0.6277 MB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.682e-05/0.1794, allocations: 0 / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1794, allocations: 7.938 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.946e-05/0.1795, allocations: 0 / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1799, allocations: 139.5 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.18, allocations: 23.92 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.823e-05/0.18, allocations: 8 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.18, allocations: 7.984 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.743e-05/0.1801, allocations: 15.92 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.1801, allocations: 4 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.1805, allocations: 347.3 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.1805, allocations: 11.92 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1805, allocations: 11.94 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1807, allocations: 155.9 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1808, allocations: 3.938 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1808, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.1808, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 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.000321/0.1811, allocations: 367.4 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.1811, allocations: 12.03 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.1812, allocations: 30.75 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1812, allocations: 4.938 kB / 0.786 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.1813, allocations: 172.3 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1813, allocations: 384 / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.1813, allocations: 8.359 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1814, allocations: 50.25 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1814, allocations: 3.938 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1815, allocations: 0 / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1815, allocations: 0 / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.1815, allocations: 23.92 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1817, allocations: 169.6 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.1818, allocations: 54.56 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.1818, allocations: 32.84 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.1818, allocations: 0 / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.1818, allocations: 30.56 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.1818, allocations: 3.938 kB / 0.7865 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009559/0.1828, allocations: 0.5994 MB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.1828, allocations: 51.41 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.988e-05/0.1829, allocations: 97.84 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1829, allocations: 29.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.183, allocations: 88.27 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.183, allocations: 39.44 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.183, allocations: 25.72 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.1831, allocations: 318.8 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.1832, allocations: 16 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.1832, allocations: 27.98 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.1833, allocations: 55.97 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1833, allocations: 0 / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001364/0.1835, allocations: 113.4 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1835, allocations: 4 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1835, allocations: 0 / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.1835, allocations: 4 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.1836, allocations: 19.98 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1836, allocations: 0 / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.62e-05/0.1836, allocations: 8 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1836, allocations: 0 / 0.788 GB, free: 8.352 MB / 0.6075 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 6.533e-05/0.1837, allocations: 117.8 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.1837, allocations: 11.94 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.1839, allocations: 101.7 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1839, allocations: 0 / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1839, allocations: 96 / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.1839, allocations: 7.938 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1843, allocations: 354.3 kB / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1843, allocations: 0 / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1844, allocations: 23.98 kB / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1844, allocations: 0 / 0.7886 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1844, allocations: 4 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.1844, allocations: 3.984 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1844, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.1846, allocations: 219.3 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.1847, allocations: 81.02 kB / 0.7888 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1847, allocations: 12.02 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.1848, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.1848, allocations: 4 kB / 0.7889 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1848, allocations: 12.06 kB / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.1849, allocations: 79.27 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002449/0.1851, allocations: 32 kB / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.000504/0.1856, allocations: 0.791 MB / 0.7898 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1858, allocations: 71.95 kB / 0.7898 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1858, allocations: 0 / 0.7898 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.1858, allocations: 31.98 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.186, allocations: 7.047 kB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1873, allocations: 1.519 MB / 0.7913 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1875, allocations: 0.6885 MB / 0.792 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.1875, allocations: 7.984 kB / 0.792 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.1876, allocations: 19.44 kB / 0.792 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1876, allocations: 0 / 0.792 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.743/1.931, allocations: 1.951 MB / 0.7939 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000299/1.931, allocations: 248.9 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/3.581, allocations: 0 / 0.7942 GB, free: 1.93 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)