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.001541/0.001541, allocations: 107 kB / 16.36 MB, free: 6.336 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.001707/0.001707, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 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.857/0.857, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.12 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3142, allocations: 82.04 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001917/0.3162, allocations: 1.26 MB / 0.5969 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.3169, allocations: 0.6148 MB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.3169, allocations: 4 kB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.317, allocations: 3.938 kB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.317, allocations: 4.438 kB / 0.5975 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.3175, allocations: 155.3 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.288e-05/0.3175, allocations: 15.92 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.3176, allocations: 9.469 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.026e-05/0.3176, allocations: 4 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.3176, allocations: 15.91 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.3177, allocations: 0.5312 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.318, allocations: 339.3 kB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.3181, allocations: 9.406 kB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.3181, allocations: 11.92 kB / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3183, allocations: 147.5 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3183, allocations: 1.406 kB / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3183, allocations: 0 / 0.5982 GB, free: 13.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3183, allocations: 0 / 0.5982 GB, free: 13.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003005/0.3186, allocations: 359.5 kB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3186, allocations: 12.03 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.3187, allocations: 0.9375 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.399e-05/0.3188, allocations: 168.3 kB / 0.5987 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3188, allocations: 4.375 kB / 0.5987 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.3188, allocations: 4.375 kB / 0.5987 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.407e-05/0.3189, allocations: 39.38 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3189, allocations: 192 / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3189, allocations: 8.875 kB / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3189, allocations: 0 / 0.5988 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.319, allocations: 7.938 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.3191, allocations: 159.2 kB / 0.5989 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3192, allocations: 43.36 kB / 0.599 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.3193, allocations: 22.44 kB / 0.599 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3193, allocations: 0 / 0.599 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.3193, allocations: 30.56 kB / 0.599 GB, free: 12.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3193, allocations: 1.5 kB / 0.599 GB, free: 12.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004713/0.3198, allocations: 326 kB / 0.5993 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.3198, allocations: 55.91 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.988e-05/0.3199, allocations: 103.2 kB / 0.5995 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.3199, allocations: 29.7 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.3199, allocations: 80.14 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3199, allocations: 21.12 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.32, allocations: 21.7 kB / 0.5996 GB, free: 11.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.764e-05/0.32, allocations: 315.6 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.32, allocations: 11.98 kB / 0.6 GB, free: 11.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.3201, allocations: 13.5 kB / 0.6 GB, free: 11.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.3201, allocations: 28.86 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3201, allocations: 0 / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.857e-05/0.3202, allocations: 73.53 kB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3202, allocations: 9.281 kB / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3202, allocations: 0 / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3202, allocations: 0 / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/0.3203, allocations: 16.89 kB / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3203, allocations: 0 / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.3203, allocations: 0 / 0.6001 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.3203, allocations: 1.406 kB / 0.6001 GB, free: 11.39 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 (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 4.357e-05/0.3204, allocations: 113.8 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3204, allocations: 4.719 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.3205, allocations: 77.58 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3205, allocations: 1.562 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3205, allocations: 0 / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3205, allocations: 0 / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.3207, allocations: 325.6 kB / 0.6006 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3208, allocations: 0 / 0.6006 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.3208, allocations: 12 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3208, allocations: 3.984 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3208, allocations: 4 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3208, allocations: 5.469 kB / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3209, allocations: 0 / 0.6006 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.321, allocations: 177.6 kB / 0.6008 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.321, allocations: 85.12 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.321, allocations: 1.344 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.851e-05/0.3211, allocations: 3.938 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.3211, allocations: 4 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3211, allocations: 17.3 kB / 0.6009 GB, free: 10.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.742e-05/0.3212, allocations: 75.28 kB / 0.601 GB, free: 10.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3212, allocations: 0 / 0.601 GB, free: 10.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3214, allocations: 20.88 kB / 0.601 GB, free: 10.38 MB / 446.1 MB 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.0001366/0.3215, allocations: 124.5 kB / 0.6011 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.3216, allocations: 35.92 kB / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3217, allocations: 1.25 kB / 0.6011 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/0.3217, allocations: 15.98 kB / 0.6012 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3219, allocations: 11.94 kB / 0.6012 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3222, allocations: 199.5 kB / 0.6014 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.3223, allocations: 0.6741 MB / 0.602 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.3224, allocations: 9.703 kB / 0.602 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/0.3224, allocations: 11.44 kB / 0.602 GB, free: 9.273 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3224, allocations: 0 / 0.602 GB, free: 9.273 MB / 446.1 MB Notification: Performance of Templates: time 0.00248/0.3249, allocations: 0.6454 MB / 0.6027 GB, free: 8.707 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)