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.001107/0.001107, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.9942/0.9942, allocations: 143.3 MB / 433.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.5144 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1534, allocations: 82.03 MB / 0.5945 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002762/0.1562, allocations: 1.476 MB / 0.596 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1573, allocations: 0.6267 MB / 0.5966 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.1573, allocations: 0 / 0.5966 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.1574, allocations: 7.922 kB / 0.5966 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.1574, allocations: 7.922 kB / 0.5966 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.158, allocations: 166.1 kB / 0.5967 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.1581, allocations: 59.77 kB / 0.5968 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.1582, allocations: 4 kB / 0.5968 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.1583, allocations: 19.92 kB / 0.5968 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.1583, allocations: 27.91 kB / 0.5969 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1584, allocations: 4 kB / 0.5969 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.1588, allocations: 343.3 kB / 0.5972 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1589, allocations: 19.91 kB / 0.5972 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.1589, allocations: 23.88 kB / 0.5972 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1592, allocations: 175.8 kB / 0.5974 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1592, allocations: 7.938 kB / 0.5974 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1592, allocations: 0 / 0.5974 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1592, allocations: 0 / 0.5974 GB, free: 6.41 MB / 0.4981 GB 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.0006116/0.1599, allocations: 403.2 kB / 0.5978 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1599, allocations: 8.031 kB / 0.5978 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.1599, allocations: 8.844 kB / 0.5978 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1601, allocations: 164.4 kB / 0.598 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1601, allocations: 8.375 kB / 0.598 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1601, allocations: 8.312 kB / 0.598 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1604, allocations: 82.2 kB / 0.5981 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1604, allocations: 192 / 0.5981 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1605, allocations: 7.938 kB / 0.5981 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1605, allocations: 4 kB / 0.5981 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.1607, allocations: 51.95 kB / 0.5981 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.1613, allocations: 324.6 kB / 0.5984 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1616, allocations: 82.52 kB / 0.5985 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1617, allocations: 28.84 kB / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1617, allocations: 0 / 0.5985 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1618, allocations: 34.56 kB / 0.5986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1618, allocations: 0 / 0.5986 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001655/0.1634, allocations: 0.6501 MB / 0.5992 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1635, allocations: 51.41 kB / 0.5992 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.1636, allocations: 109.8 kB / 0.5994 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1636, allocations: 29.7 kB / 0.5994 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1636, allocations: 84.05 kB / 0.5995 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.1637, allocations: 43.45 kB / 0.5995 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1637, allocations: 33.7 kB / 0.5995 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.1638, allocations: 310.8 kB / 0.5998 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.164, allocations: 35.97 kB / 0.5999 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1641, allocations: 31.98 kB / 0.5999 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1643, allocations: 68.08 kB / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1644, allocations: 0 / 0.6 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000313/0.1647, allocations: 129.6 kB / 0.6001 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1647, allocations: 7.984 kB / 0.6001 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1647, allocations: 0 / 0.6001 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1647, allocations: 3.938 kB / 0.6001 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1649, allocations: 23.98 kB / 0.6001 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1649, allocations: 4 kB / 0.6001 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.165, allocations: 8.031 kB / 0.6001 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.165, allocations: 15.91 kB / 0.6001 GB, free: 3.289 MB / 0.4981 GB 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 8.16e-05/0.1651, allocations: 117.8 kB / 0.6003 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1651, allocations: 7.906 kB / 0.6003 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.1655, allocations: 121.5 kB / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1655, allocations: 0 / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1656, allocations: 4 kB / 0.6004 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.1656, allocations: 7.922 kB / 0.6004 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.1662, allocations: 386.4 kB / 0.6008 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1662, allocations: 0 / 0.6008 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1664, allocations: 27.98 kB / 0.6008 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1664, allocations: 4 kB / 0.6008 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1664, allocations: 7.922 kB / 0.6008 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1664, allocations: 0 / 0.6008 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1664, allocations: 0 / 0.6008 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.1669, allocations: 259.5 kB / 0.601 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.167, allocations: 81.14 kB / 0.6011 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.167, allocations: 3.938 kB / 0.6011 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1671, allocations: 11.98 kB / 0.6011 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.1672, allocations: 4 kB / 0.6011 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1672, allocations: 4 kB / 0.6011 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.1672, allocations: 87.27 kB / 0.6012 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1672, allocations: 4.062 kB / 0.6012 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002803/0.1675, allocations: 31.94 kB / 0.6013 GB, free: 2.031 MB / 0.4981 GB 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.0002177/0.1677, allocations: 139.2 kB / 0.6014 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.1681, allocations: 83.89 kB / 0.6015 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1681, allocations: 3.938 kB / 0.6015 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1682, allocations: 47.91 kB / 0.6015 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1686, allocations: 21.44 kB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007739/0.1694, allocations: 317.8 kB / 0.6018 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1697, allocations: 0.7001 MB / 0.6025 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1698, allocations: 8.656 kB / 0.6025 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1698, allocations: 15.44 kB / 0.6026 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1698, allocations: 0 / 0.6026 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of Templates: time 0.2488/0.4187, allocations: 1.133 MB / 0.6037 GB, free: 43.14 MB / 0.4981 GB 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)