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.001293/0.001293, allocations: 106.7 kB / 16.27 MB, free: 5.984 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.001374/0.001374, allocations: 189 kB / 17.2 MB, free: 5.609 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.249/1.249, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.811/0.811, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 63.91 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 82.03 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001866/0.304, allocations: 1.273 MB / 0.5962 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.3048, allocations: 0.6181 MB / 0.5968 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.3049, allocations: 1.062 kB / 0.5968 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.3049, allocations: 0 / 0.5968 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.305, allocations: 11.92 kB / 0.5968 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.3054, allocations: 141.6 kB / 0.5969 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.3055, allocations: 19.92 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.3055, allocations: 4 kB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.3055, allocations: 9.391 kB / 0.597 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.3056, allocations: 15.92 kB / 0.597 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.3056, allocations: 0 / 0.597 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.306, allocations: 347.3 kB / 0.5973 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.306, allocations: 1.469 kB / 0.5973 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.306, allocations: 11.94 kB / 0.5973 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3062, allocations: 141.6 kB / 0.5975 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3062, allocations: 4 kB / 0.5975 GB, free: 13.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3062, allocations: 1.781 kB / 0.5975 GB, free: 13.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3062, allocations: 0 / 0.5975 GB, free: 13.62 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.0002838/0.3065, allocations: 359.4 kB / 0.5978 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.3066, allocations: 12.03 kB / 0.5978 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.3066, allocations: 3.531 kB / 0.5978 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.3067, allocations: 172.3 kB / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3067, allocations: 384 / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3067, allocations: 384 / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.583e-05/0.3068, allocations: 46.19 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3068, allocations: 4.172 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3068, allocations: 5.156 kB / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3068, allocations: 0 / 0.598 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.3069, allocations: 15.94 kB / 0.5981 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.307, allocations: 159.2 kB / 0.5982 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.3071, allocations: 43.17 kB / 0.5982 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.3072, allocations: 26.47 kB / 0.5983 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3072, allocations: 0 / 0.5983 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3072, allocations: 34.56 kB / 0.5983 GB, free: 12.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3072, allocations: 1.406 kB / 0.5983 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004713/0.3077, allocations: 310.1 kB / 0.5986 GB, free: 12.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.3077, allocations: 52.16 kB / 0.5987 GB, free: 12.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.3078, allocations: 103.3 kB / 0.5988 GB, free: 12.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.3078, allocations: 25.7 kB / 0.5988 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.351e-05/0.3078, allocations: 84.14 kB / 0.5989 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.3078, allocations: 17.06 kB / 0.5989 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.3079, allocations: 25.7 kB / 0.5989 GB, free: 11.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.3079, allocations: 311.6 kB / 0.5992 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.3079, allocations: 8 kB / 0.5992 GB, free: 11.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.308, allocations: 17.48 kB / 0.5992 GB, free: 11.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.308, allocations: 36.8 kB / 0.5993 GB, free: 11.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.308, allocations: 0 / 0.5993 GB, free: 11.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.636e-05/0.3081, allocations: 73.72 kB / 0.5993 GB, free: 11.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.3081, allocations: 8.906 kB / 0.5993 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3081, allocations: 0 / 0.5993 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3081, allocations: 1.094 kB / 0.5993 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.3082, allocations: 12 kB / 0.5993 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3082, allocations: 3.938 kB / 0.5993 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.3082, allocations: 1.5 kB / 0.5994 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3082, allocations: 7.984 kB / 0.5994 GB, free: 11.43 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.112e-05/0.3083, allocations: 114.5 kB / 0.5995 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3083, allocations: 7.938 kB / 0.5995 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3084, allocations: 67.19 kB / 0.5995 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3084, allocations: 0 / 0.5995 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3084, allocations: 0 / 0.5995 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3084, allocations: 4.5 kB / 0.5995 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3086, allocations: 318.7 kB / 0.5998 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3087, allocations: 4 kB / 0.5999 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.3087, allocations: 8 kB / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3087, allocations: 0 / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3087, allocations: 4 kB / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3087, allocations: 0 / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3087, allocations: 192 / 0.5999 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3089, allocations: 194.8 kB / 0.6 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.3089, allocations: 85.12 kB / 0.6001 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.3089, allocations: 0 / 0.6001 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.309, allocations: 13.28 kB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.309, allocations: 0 / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.309, allocations: 4 kB / 0.6001 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.3091, allocations: 80.8 kB / 0.6002 GB, free: 10.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3091, allocations: 0 / 0.6002 GB, free: 10.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3093, allocations: 24 kB / 0.6002 GB, free: 10.41 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.0001303/0.3094, allocations: 120.5 kB / 0.6004 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.083e-05/0.3095, allocations: 43.91 kB / 0.6004 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3095, allocations: 1.344 kB / 0.6004 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.383e-05/0.3096, allocations: 19.94 kB / 0.6004 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3098, allocations: 7.922 kB / 0.6004 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.3101, allocations: 210.5 kB / 0.6006 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.368e-05/0.3102, allocations: 0.6871 MB / 0.6013 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.3103, allocations: 11.44 kB / 0.6013 GB, free: 9.285 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3103, allocations: 0 / 0.6013 GB, free: 9.285 MB / 446.1 MB Notification: Performance of Templates: time 0.001872/0.3121, allocations: 0.8096 MB / 0.6021 GB, free: 8.516 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)