Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.008352/0.008352, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001167/0.001167, allocations: 199.7 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9113/0.9113, allocations: 143.3 MB / 433.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 67.89 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2922, allocations: 82.02 MB / 0.6754 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001634/0.2938, allocations: 1.264 MB / 0.6766 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.2948, allocations: 0.6261 MB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.2948, allocations: 0 / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.2949, allocations: 3.938 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.2949, allocations: 5.359 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2954, allocations: 143.6 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.949e-05/0.2954, allocations: 17.06 kB / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.2955, allocations: 10.22 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.2955, allocations: 7.438 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.2955, allocations: 11.62 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.2956, allocations: 1.25 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.2961, allocations: 341.7 kB / 0.6778 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2961, allocations: 5.375 kB / 0.6778 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2961, allocations: 10.77 kB / 0.6778 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2963, allocations: 149.9 kB / 0.6779 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2964, allocations: 0 / 0.6779 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.51e-07/0.2964, allocations: 0 / 0.6779 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.2964, allocations: 1.656 kB / 0.6779 GB, free: 15.06 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003971/0.2968, allocations: 366 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2968, allocations: 9.156 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.456e-05/0.2968, allocations: 35.78 kB / 0.6783 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2969, allocations: 3.375 kB / 0.6783 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.297, allocations: 169.3 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.297, allocations: 1.406 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.297, allocations: 2.625 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.9e-05/0.2971, allocations: 39.75 kB / 0.6785 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2971, allocations: 5 kB / 0.6785 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2971, allocations: 7.984 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2972, allocations: 1.031 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.2972, allocations: 13.55 kB / 0.6786 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.2974, allocations: 159.1 kB / 0.6787 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.2975, allocations: 43.66 kB / 0.6788 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.2976, allocations: 16.45 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2976, allocations: 5.156 kB / 0.6788 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2976, allocations: 39.73 kB / 0.6788 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2976, allocations: 3.938 kB / 0.6788 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0005418/0.2982, allocations: 303.3 kB / 0.6791 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.2982, allocations: 52.34 kB / 0.6792 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.2983, allocations: 98.36 kB / 0.6792 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2983, allocations: 25.7 kB / 0.6793 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.2984, allocations: 89.59 kB / 0.6794 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.2984, allocations: 22.39 kB / 0.6794 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2984, allocations: 22.66 kB / 0.6794 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2986, allocations: 320.1 kB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.2986, allocations: 6.156 kB / 0.6797 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.2986, allocations: 10.66 kB / 0.6797 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.2987, allocations: 44.14 kB / 0.6798 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2987, allocations: 0 / 0.6798 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.904e-05/0.2988, allocations: 73.09 kB / 0.6798 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.2988, allocations: 8.844 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2988, allocations: 1.219 kB / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2988, allocations: 0 / 0.6798 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/0.2989, allocations: 13.72 kB / 0.6799 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2989, allocations: 0.9062 kB / 0.6799 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.2989, allocations: 0 / 0.6799 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2989, allocations: 7 kB / 0.6799 GB, free: 13.02 MB / 0.5137 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 (7): * Single equations (assignments): 7 * 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 7.408e-05/0.299, allocations: 107.2 kB / 0.68 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.299, allocations: 10.05 kB / 0.68 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.2992, allocations: 78.84 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2992, allocations: 0 / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2992, allocations: 1.281 kB / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2992, allocations: 0 / 0.6801 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.2995, allocations: 315.7 kB / 0.6804 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2995, allocations: 1.312 kB / 0.6804 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.2996, allocations: 14.27 kB / 0.6804 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2996, allocations: 1.094 kB / 0.6804 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2996, allocations: 5.219 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2996, allocations: 0 / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2996, allocations: 1.156 kB / 0.6804 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.2998, allocations: 182.3 kB / 0.6805 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.2998, allocations: 79.23 kB / 0.6806 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.2999, allocations: 17.41 kB / 0.6806 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.2999, allocations: 4.906 kB / 0.6806 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.3, allocations: 7.219 kB / 0.6807 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3, allocations: 2.062 kB / 0.6807 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.3, allocations: 77.25 kB / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3, allocations: 3.938 kB / 0.6807 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002366/0.3003, allocations: 27.61 kB / 0.6808 GB, free: 12.11 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005036/0.3008, allocations: 0.7359 MB / 0.6815 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.3009, allocations: 37.05 kB / 0.6815 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3009, allocations: 0 / 0.6815 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-05/0.3009, allocations: 19.61 kB / 0.6815 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.3011, allocations: 5.75 kB / 0.6815 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3023, allocations: 1.325 MB / 0.6828 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3026, allocations: 0.68 MB / 0.6835 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.3026, allocations: 8.297 kB / 0.6835 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.3026, allocations: 20.28 kB / 0.6835 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3026, allocations: 0 / 0.6835 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.316/3.618, allocations: 1.62 MB / 0.6851 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/14.59, allocations: 7.766 kB / 0.6851 GB, free: 8.535 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)