Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001603/0.001603, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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 0.8426/0.8426, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.349, allocations: 82.02 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001994/0.351, allocations: 1.285 MB / 0.5969 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.3519, allocations: 0.6221 MB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.3519, allocations: 5.281 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3519, allocations: 3.938 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.352, allocations: 0 / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3524, allocations: 150.1 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.3525, allocations: 33.34 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3525, allocations: 3.984 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.3526, allocations: 8 kB / 0.5977 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.3526, allocations: 15.92 kB / 0.5978 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3526, allocations: 0.9688 kB / 0.5978 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.353, allocations: 347.3 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.353, allocations: 7.938 kB / 0.5981 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.3531, allocations: 16.58 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.3533, allocations: 149.4 kB / 0.5983 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3533, allocations: 4 kB / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3533, allocations: 0 / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3533, allocations: 0 / 0.5983 GB, free: 13.5 MB / 446.1 MB 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.0002974/0.3536, allocations: 372.4 kB / 0.5986 GB, free: 13.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.3536, allocations: 8.031 kB / 0.5986 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3537, allocations: 4.844 kB / 0.5986 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.878e-05/0.3537, allocations: 168.4 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3538, allocations: 4.375 kB / 0.5988 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3538, allocations: 4.375 kB / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3539, allocations: 50.25 kB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3539, allocations: 192 / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3539, allocations: 8.625 kB / 0.5989 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3539, allocations: 0 / 0.5989 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.354, allocations: 25.42 kB / 0.5989 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.3541, allocations: 169.6 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.485e-05/0.3542, allocations: 63.84 kB / 0.5991 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.3542, allocations: 28.86 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3543, allocations: 0.9375 kB / 0.5991 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.3543, allocations: 35.92 kB / 0.5992 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3543, allocations: 0 / 0.5992 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008991/0.3552, allocations: 0.5911 MB / 0.5997 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.3552, allocations: 55.39 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.3553, allocations: 95.3 kB / 0.5999 GB, free: 11.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.3553, allocations: 29.7 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.3553, allocations: 84.77 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3553, allocations: 36.98 kB / 0.6 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3554, allocations: 25.72 kB / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.3554, allocations: 318.8 kB / 0.6004 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.3555, allocations: 21.39 kB / 0.6004 GB, free: 11.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.3555, allocations: 24 kB / 0.6004 GB, free: 11.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.3556, allocations: 53.59 kB / 0.6005 GB, free: 10.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3556, allocations: 4.594 kB / 0.6005 GB, free: 10.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001209/0.3557, allocations: 106.6 kB / 0.6006 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3557, allocations: 8 kB / 0.6006 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3558, allocations: 0 / 0.6006 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3558, allocations: 4 kB / 0.6006 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.3559, allocations: 19.98 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3559, allocations: 1.5 kB / 0.6006 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.3559, allocations: 8 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.3559, allocations: 0 / 0.6006 GB, free: 10.82 MB / 446.1 MB 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 4.8e-05/0.356, allocations: 114.6 kB / 0.6007 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.356, allocations: 8.719 kB / 0.6007 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3562, allocations: 110.2 kB / 0.6008 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3562, allocations: 3.062 kB / 0.6008 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3562, allocations: 4 kB / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3562, allocations: 0 / 0.6008 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.3565, allocations: 359 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3565, allocations: 0 / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.3566, allocations: 23.98 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3566, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.3566, allocations: 1.344 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3566, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3566, allocations: 0 / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3568, allocations: 227 kB / 0.6014 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.3568, allocations: 85 kB / 0.6015 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3569, allocations: 8.938 kB / 0.6015 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.3569, allocations: 0 / 0.6015 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.357, allocations: 9.359 kB / 0.6015 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.357, allocations: 4 kB / 0.6015 GB, free: 9.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.967e-05/0.357, allocations: 80.62 kB / 0.6016 GB, free: 9.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.357, allocations: 0 / 0.6016 GB, free: 9.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3573, allocations: 31.94 kB / 0.6016 GB, free: 9.68 MB / 446.1 MB 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.0001586/0.3574, allocations: 136.6 kB / 0.6018 GB, free: 9.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3576, allocations: 63.86 kB / 0.6018 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3576, allocations: 1.406 kB / 0.6018 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.3576, allocations: 35.92 kB / 0.6018 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3578, allocations: 8 kB / 0.6019 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.3583, allocations: 283.5 kB / 0.6021 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.453e-05/0.3584, allocations: 0.6894 MB / 0.6028 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.848e-05/0.3584, allocations: 13.59 kB / 0.6028 GB, free: 8.465 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.3585, allocations: 15.44 kB / 0.6028 GB, free: 8.449 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3585, allocations: 0 / 0.6028 GB, free: 8.449 MB / 446.1 MB Notification: Performance of Templates: time 0.002792/0.3613, allocations: 0.9631 MB / 0.6038 GB, free: 7.543 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)