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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005421/0.005421, allocations: 106.7 kB / 15.74 MB, free: 6.051 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.001179/0.001179, allocations: 192.9 kB / 16.67 MB, free: 5.98 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.006/1.006, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.89 kB / 0.5955 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 82.03 MB / 0.6756 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001981/0.397, allocations: 1.252 MB / 0.6769 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008886/0.3979, allocations: 0.6215 MB / 0.6775 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.3979, allocations: 4 kB / 0.6775 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.398, allocations: 1.094 kB / 0.6775 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.398, allocations: 3.938 kB / 0.6775 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.3986, allocations: 144.3 kB / 0.6776 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.3987, allocations: 17.08 kB / 0.6776 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.3987, allocations: 6.266 kB / 0.6776 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.3988, allocations: 8.031 kB / 0.6776 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.3988, allocations: 10.92 kB / 0.6777 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3988, allocations: 5.344 kB / 0.6777 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.3994, allocations: 346.2 kB / 0.678 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.3994, allocations: 1.094 kB / 0.678 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.3994, allocations: 10.81 kB / 0.678 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.3997, allocations: 146.7 kB / 0.6781 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3997, allocations: 0 / 0.6781 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3997, allocations: 1 kB / 0.6781 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.3998, allocations: 0 / 0.6781 GB, free: 15.78 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.0004853/0.4002, allocations: 355.4 kB / 0.6785 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4003, allocations: 13.09 kB / 0.6785 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.4003, allocations: 11.12 kB / 0.6785 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.4005, allocations: 173.5 kB / 0.6787 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.4005, allocations: 1.562 kB / 0.6787 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.4005, allocations: 5.562 kB / 0.6787 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.4007, allocations: 41.09 kB / 0.6787 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4007, allocations: 192 / 0.6787 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4007, allocations: 9.062 kB / 0.6787 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4007, allocations: 0 / 0.6787 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.4008, allocations: 10.42 kB / 0.6787 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.401, allocations: 158.6 kB / 0.6789 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4012, allocations: 48.2 kB / 0.6789 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.4012, allocations: 15.86 kB / 0.6789 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4012, allocations: 5.172 kB / 0.679 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4013, allocations: 31.69 kB / 0.679 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.655e-06/0.4013, allocations: 0 / 0.679 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006975/0.402, allocations: 319.4 kB / 0.6793 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.402, allocations: 52.78 kB / 0.6793 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.4021, allocations: 97 kB / 0.6794 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4021, allocations: 30.8 kB / 0.6795 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.4022, allocations: 81.17 kB / 0.6795 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.4022, allocations: 22.09 kB / 0.6796 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.4022, allocations: 18.25 kB / 0.6796 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4024, allocations: 320.3 kB / 0.6799 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.4024, allocations: 10.56 kB / 0.6799 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.4024, allocations: 10.64 kB / 0.6799 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.797e-05/0.4025, allocations: 36.73 kB / 0.6799 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4025, allocations: 0 / 0.6799 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.884e-05/0.4026, allocations: 69.34 kB / 0.68 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4026, allocations: 10.78 kB / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4026, allocations: 0 / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4027, allocations: 1.375 kB / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.4027, allocations: 17.41 kB / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4027, allocations: 0 / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.4027, allocations: 1.25 kB / 0.68 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.4028, allocations: 1.25 kB / 0.68 GB, free: 13.79 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.306e-05/0.4028, allocations: 120.5 kB / 0.6801 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.4029, allocations: 5.094 kB / 0.6802 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.403, allocations: 74.33 kB / 0.6802 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.403, allocations: 1.125 kB / 0.6802 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.403, allocations: 1.062 kB / 0.6802 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.403, allocations: 4 kB / 0.6802 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.4034, allocations: 320.5 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4034, allocations: 0 / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.4034, allocations: 10.62 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4035, allocations: 0 / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4035, allocations: 1.125 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4035, allocations: 1.219 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4035, allocations: 1.156 kB / 0.6805 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.4037, allocations: 190.2 kB / 0.6807 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.4037, allocations: 86.56 kB / 0.6808 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4038, allocations: 1.406 kB / 0.6808 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.4038, allocations: 5.438 kB / 0.6808 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4039, allocations: 2.969 kB / 0.6808 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.4039, allocations: 1.406 kB / 0.6808 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.881e-05/0.4039, allocations: 90.2 kB / 0.6809 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4039, allocations: 0 / 0.6809 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002473/0.4042, allocations: 18.56 kB / 0.6809 GB, free: 12.88 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.0002004/0.4044, allocations: 128.8 kB / 0.6811 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4045, allocations: 32.14 kB / 0.6811 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4045, allocations: 1.469 kB / 0.6811 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.4046, allocations: 19.06 kB / 0.6811 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4048, allocations: 10.11 kB / 0.6811 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.4053, allocations: 190.6 kB / 0.6813 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4056, allocations: 0.6859 MB / 0.682 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.4057, allocations: 7.344 kB / 0.682 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.4057, allocations: 10.84 kB / 0.682 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4057, allocations: 0 / 0.682 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.003107/0.4088, allocations: 0.6507 MB / 0.6826 GB, free: 11.55 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)