Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 103.4 kB / 16.27 MB, free: 5.949 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.001434/0.001435, allocations: 189.5 kB / 17.2 MB, free: 5.586 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.482/1.482, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.953/0.953, allocations: 143.3 MB / 434.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 71.88 kB / 0.5151 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3574, allocations: 82.04 MB / 0.5952 GB, free: 16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002625/0.3601, allocations: 1.457 MB / 0.5966 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008956/0.361, allocations: 0.6377 MB / 0.5972 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.3611, allocations: 0 / 0.5972 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.3611, allocations: 4.469 kB / 0.5972 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.3612, allocations: 7.938 kB / 0.5973 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.3618, allocations: 160 kB / 0.5974 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.411e-05/0.3619, allocations: 55.53 kB / 0.5975 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.3619, allocations: 4 kB / 0.5975 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.509e-05/0.362, allocations: 32.47 kB / 0.5975 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.142e-05/0.3621, allocations: 19.92 kB / 0.5975 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.3621, allocations: 5.594 kB / 0.5975 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000445/0.3625, allocations: 347.3 kB / 0.5979 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.3626, allocations: 15.92 kB / 0.5979 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3626, allocations: 31.84 kB / 0.5979 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.3629, allocations: 167 kB / 0.5981 GB, free: 13.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3629, allocations: 4 kB / 0.5981 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3629, allocations: 7.922 kB / 0.5981 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3629, allocations: 0 / 0.5981 GB, free: 13.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005637/0.3635, allocations: 393.6 kB / 0.5984 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3635, allocations: 11.97 kB / 0.5985 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3636, allocations: 8.844 kB / 0.5985 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3637, allocations: 173.6 kB / 0.5986 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.3638, allocations: 8.375 kB / 0.5986 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3638, allocations: 4.375 kB / 0.5986 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.364, allocations: 87.06 kB / 0.5987 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.364, allocations: 192 / 0.5987 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3641, allocations: 5.344 kB / 0.5987 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3641, allocations: 0 / 0.5987 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3643, allocations: 52.86 kB / 0.5988 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.3648, allocations: 327.3 kB / 0.5991 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3651, allocations: 83.25 kB / 0.5992 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3652, allocations: 26.38 kB / 0.5992 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3652, allocations: 4 kB / 0.5992 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3652, allocations: 39.92 kB / 0.5992 GB, free: 11.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3653, allocations: 0 / 0.5992 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3667, allocations: 0.6543 MB / 0.5999 GB, free: 10.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3668, allocations: 55.34 kB / 0.5999 GB, free: 10.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.3668, allocations: 101.8 kB / 0.6 GB, free: 10.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3669, allocations: 27.08 kB / 0.6001 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.3669, allocations: 99.97 kB / 0.6001 GB, free: 10.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3669, allocations: 39.44 kB / 0.6002 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.367, allocations: 27.06 kB / 0.6002 GB, free: 10.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.367, allocations: 318.8 kB / 0.6005 GB, free: 10.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3671, allocations: 29.14 kB / 0.6005 GB, free: 10.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3673, allocations: 35.97 kB / 0.6006 GB, free: 10.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.3675, allocations: 71.52 kB / 0.6006 GB, free: 10.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3675, allocations: 1.5 kB / 0.6006 GB, free: 10.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002661/0.3678, allocations: 124.1 kB / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3678, allocations: 5.375 kB / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3678, allocations: 4 kB / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3678, allocations: 0 / 0.6008 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.368, allocations: 29.27 kB / 0.6008 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.368, allocations: 0 / 0.6008 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.368, allocations: 11.92 kB / 0.6008 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3681, allocations: 9.5 kB / 0.6008 GB, free: 9.969 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 5.578e-05/0.3681, allocations: 114.4 kB / 0.6009 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.3682, allocations: 7.906 kB / 0.6009 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.3685, allocations: 130.7 kB / 0.6011 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3685, allocations: 0.7188 kB / 0.6011 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3685, allocations: 0 / 0.6011 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3685, allocations: 5.375 kB / 0.6011 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.369, allocations: 383.8 kB / 0.6014 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.369, allocations: 3.984 kB / 0.6014 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.3691, allocations: 23.98 kB / 0.6015 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3691, allocations: 1.531 kB / 0.6015 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3692, allocations: 7.938 kB / 0.6015 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3692, allocations: 0 / 0.6015 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3692, allocations: 0 / 0.6015 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.3696, allocations: 250 kB / 0.6017 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.3696, allocations: 81.08 kB / 0.6018 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3697, allocations: 11.94 kB / 0.6018 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3698, allocations: 9.266 kB / 0.6018 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.3698, allocations: 7.984 kB / 0.6018 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3698, allocations: 8.906 kB / 0.6018 GB, free: 8.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.3699, allocations: 79.28 kB / 0.6019 GB, free: 8.766 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3699, allocations: 1.344 kB / 0.6019 GB, free: 8.766 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3701, allocations: 39.94 kB / 0.6019 GB, free: 8.727 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001916/0.3703, allocations: 136.6 kB / 0.6021 GB, free: 8.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3707, allocations: 83.89 kB / 0.6021 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3707, allocations: 1.5 kB / 0.6021 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3708, allocations: 51.84 kB / 0.6022 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3711, allocations: 13.25 kB / 0.6022 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.3718, allocations: 345.2 kB / 0.6025 GB, free: 8.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.3719, allocations: 0.6892 MB / 0.6032 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.372, allocations: 23.38 kB / 0.6032 GB, free: 7.383 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.372, allocations: 0 / 0.6032 GB, free: 7.383 MB / 446.1 MB Notification: Performance of Templates: time 0.002929/0.3749, allocations: 1.335 MB / 0.6045 GB, free: 6.062 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)