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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001264/0.001264, allocations: 194.2 kB / 16.14 MB, free: 6.66 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.263/1.263, allocations: 205.1 MB / 222 MB, free: 4.723 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.547/1.547, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.00129/0.00129, allocations: 71.69 kB / 0.6709 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002007/0.1688, allocations: 1.352 MB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.1697, allocations: 0.6394 MB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.1698, allocations: 0 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.1698, allocations: 4 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.1698, allocations: 7.875 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1702, allocations: 127.6 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.547e-05/0.1703, allocations: 27.92 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.1703, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1703, allocations: 8 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.1704, allocations: 19.91 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1704, allocations: 0 / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.1708, allocations: 343.3 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1708, allocations: 7.984 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.1709, allocations: 23.86 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.1711, allocations: 147.9 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1711, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1711, allocations: 3.938 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1711, allocations: 4 kB / 0.7854 GB, free: 11.23 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.0003626/0.1715, allocations: 363.4 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1715, allocations: 12.03 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.1716, allocations: 30.75 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1716, allocations: 12.94 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.49e-05/0.1717, allocations: 164.3 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-06/0.1717, allocations: 384 / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1717, allocations: 8.359 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.1718, allocations: 58.17 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1719, allocations: 3.938 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1719, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1719, allocations: 4 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.3e-05/0.1719, allocations: 15.98 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1721, allocations: 169.6 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.1722, allocations: 58.56 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.1722, allocations: 28.84 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1722, allocations: 0 / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.1723, allocations: 34.5 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1723, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00104/0.1733, allocations: 0.5994 MB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1734, allocations: 55.41 kB / 0.787 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.1734, allocations: 97.84 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1735, allocations: 29.7 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1735, allocations: 84.27 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1736, allocations: 39.45 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1736, allocations: 21.72 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.1737, allocations: 318.8 kB / 0.7876 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.1737, allocations: 16 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.1738, allocations: 31.23 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.1739, allocations: 56.86 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1739, allocations: 3.984 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001306/0.174, allocations: 101.5 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.174, allocations: 11.94 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1741, allocations: 0 / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1741, allocations: 0 / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.1742, allocations: 19.98 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1742, allocations: 4 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.1742, allocations: 4 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1742, allocations: 0 / 0.7878 GB, free: 8.488 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.941e-05/0.1743, allocations: 118.4 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.1743, allocations: 11.94 kB / 0.7879 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.1745, allocations: 105.7 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1745, allocations: 4 kB / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1745, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1745, allocations: 0 / 0.788 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.1749, allocations: 358.4 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1749, allocations: 3.938 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.175, allocations: 23.98 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.175, allocations: 0 / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.175, allocations: 4 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.175, allocations: 4 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.175, allocations: 0 / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1753, allocations: 215.7 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.1753, allocations: 85.05 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1754, allocations: 4 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.1755, allocations: 3.984 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1755, allocations: 4.062 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1755, allocations: 12 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.1755, allocations: 79.27 kB / 0.7888 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1755, allocations: 4 kB / 0.7888 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002345/0.1758, allocations: 36 kB / 0.7888 GB, free: 7.324 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.0004954/0.1763, allocations: 0.7828 MB / 0.7896 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.1764, allocations: 66.97 kB / 0.7896 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1764, allocations: 0 / 0.7896 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.1764, allocations: 27.94 kB / 0.7897 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.1766, allocations: 11.09 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1779, allocations: 1.512 MB / 0.7912 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1782, allocations: 0.6899 MB / 0.7918 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.1783, allocations: 4 kB / 0.7918 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1783, allocations: 27.42 kB / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.1783, allocations: 0 / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/1.384, allocations: 1.902 MB / 0.7937 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/1.384, allocations: 240 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/3.605, allocations: 0 / 0.794 GB, free: 2.102 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)