Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 112.6 kB / 16.37 MB, free: 6 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.001067/0.001067, allocations: 196 kB / 17.31 MB, free: 5.613 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.18 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.8251/0.8251, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3249, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001834/0.3267, allocations: 1.275 MB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.3275, allocations: 0.6183 MB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.3275, allocations: 0 / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.3275, allocations: 0 / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.3276, allocations: 8.641 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.328, allocations: 148.6 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.328, allocations: 15.94 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.615e-05/0.3281, allocations: 10.64 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.3281, allocations: 11.94 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.3282, allocations: 4 kB / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.3282, allocations: 0 / 0.5977 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.3285, allocations: 343.3 kB / 0.5981 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.3286, allocations: 7.984 kB / 0.5981 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.3286, allocations: 15.92 kB / 0.5981 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.3288, allocations: 144.8 kB / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3288, allocations: 0 / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3288, allocations: 0 / 0.5982 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3288, allocations: 0 / 0.5982 GB, free: 13.58 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.0002747/0.3291, allocations: 362.8 kB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.3291, allocations: 8.031 kB / 0.5986 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.3291, allocations: 4.938 kB / 0.5986 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.776e-05/0.3292, allocations: 165.7 kB / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3292, allocations: 384 / 0.5987 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3292, allocations: 4.375 kB / 0.5988 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.3293, allocations: 43.16 kB / 0.5988 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3293, allocations: 4.125 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3294, allocations: 9.062 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3294, allocations: 0 / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.3294, allocations: 11.98 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.3295, allocations: 163 kB / 0.599 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3297, allocations: 47.98 kB / 0.599 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.3297, allocations: 16.86 kB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3297, allocations: 0 / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.3297, allocations: 35.81 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3297, allocations: 0 / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004523/0.3302, allocations: 315.5 kB / 0.5994 GB, free: 12.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.733e-05/0.3302, allocations: 55.41 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.636e-05/0.3303, allocations: 94.73 kB / 0.5995 GB, free: 12.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.3303, allocations: 26.83 kB / 0.5995 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.156e-05/0.3303, allocations: 80.14 kB / 0.5996 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3303, allocations: 23.73 kB / 0.5996 GB, free: 11.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3304, allocations: 19.25 kB / 0.5997 GB, free: 11.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.3304, allocations: 322.8 kB / 0.6 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.3304, allocations: 5.344 kB / 0.6 GB, free: 11.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.3304, allocations: 12.06 kB / 0.6 GB, free: 11.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.3305, allocations: 40.84 kB / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3305, allocations: 0 / 0.6 GB, free: 11.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.333e-05/0.3306, allocations: 62.89 kB / 0.6001 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3306, allocations: 15.92 kB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.3306, allocations: 0 / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3306, allocations: 1.469 kB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.3307, allocations: 8 kB / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3307, allocations: 4 kB / 0.6001 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.3307, allocations: 7.938 kB / 0.6001 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3307, allocations: 1.281 kB / 0.6001 GB, free: 11.4 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 3.862e-05/0.3307, allocations: 109.8 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3308, allocations: 5.156 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3309, allocations: 77.58 kB / 0.6003 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3309, allocations: 4 kB / 0.6003 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3309, allocations: 1 kB / 0.6003 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3309, allocations: 0 / 0.6003 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.3311, allocations: 320.7 kB / 0.6006 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3311, allocations: 3.984 kB / 0.6006 GB, free: 10.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.3312, allocations: 13.34 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3312, allocations: 0 / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.3312, allocations: 0 / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3312, allocations: 0 / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3312, allocations: 4.719 kB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3313, allocations: 186.2 kB / 0.6008 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.3314, allocations: 81.33 kB / 0.6009 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.3314, allocations: 9.438 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3315, allocations: 3.984 kB / 0.6009 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3315, allocations: 4.516 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.3315, allocations: 1.156 kB / 0.6009 GB, free: 10.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.648e-05/0.3315, allocations: 83.27 kB / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3315, allocations: 0 / 0.601 GB, free: 10.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3317, allocations: 28.48 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 (dp_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.0001244/0.3319, allocations: 120.3 kB / 0.6011 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.332, allocations: 41.06 kB / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.332, allocations: 0 / 0.6012 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.255e-05/0.332, allocations: 17.88 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.0002112/0.3322, allocations: 7.938 kB / 0.6012 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.3325, allocations: 186.6 kB / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.3326, allocations: 0.6778 MB / 0.602 GB, free: 9.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.436e-05/0.3326, allocations: 8.969 kB / 0.602 GB, free: 9.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.3327, allocations: 11.44 kB / 0.602 GB, free: 9.281 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3327, allocations: 0.6875 kB / 0.6021 GB, free: 9.281 MB / 446.1 MB Notification: Performance of Templates: time 0.002416/0.3351, allocations: 0.6684 MB / 0.6027 GB, free: 8.691 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)