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.0008637/0.000864, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00589/0.00589, allocations: 171.9 kB / 16.26 MB, free: 6.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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.332 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 1.104/1.104, allocations: 143.4 MB / 434.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 16 kB / 0.5166 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 83.4 MB / 0.5981 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001905/0.1556, allocations: 1.194 MB / 0.5993 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1571, allocations: 0.6346 MB / 0.5999 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.1572, allocations: 0 / 0.5999 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.1572, allocations: 0 / 0.5999 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.1573, allocations: 3.938 kB / 0.5999 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008141/0.1581, allocations: 135.6 kB / 0.6 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1582, allocations: 55.78 kB / 0.6001 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.1583, allocations: 0 / 0.6001 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.1584, allocations: 27.86 kB / 0.6001 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1585, allocations: 27.91 kB / 0.6001 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1585, allocations: 4 kB / 0.6001 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.1591, allocations: 347.3 kB / 0.6005 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.1591, allocations: 15.94 kB / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.1592, allocations: 49.56 kB / 0.6005 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.1595, allocations: 175.8 kB / 0.6007 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1595, allocations: 0 / 0.6007 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1595, allocations: 0 / 0.6007 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1595, allocations: 0 / 0.6007 GB, free: 4.793 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.0006343/0.1602, allocations: 395.3 kB / 0.6011 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.1602, allocations: 8.031 kB / 0.6011 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.1603, allocations: 12.84 kB / 0.6011 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1605, allocations: 168.4 kB / 0.6012 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.1605, allocations: 8.359 kB / 0.6012 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1605, allocations: 8.375 kB / 0.6013 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1608, allocations: 85.47 kB / 0.6013 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1608, allocations: 4.125 kB / 0.6013 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1609, allocations: 7.938 kB / 0.6013 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1609, allocations: 0 / 0.6013 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.1612, allocations: 55.95 kB / 0.6014 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.1618, allocations: 340.6 kB / 0.6017 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.1621, allocations: 86.47 kB / 0.6018 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1623, allocations: 32.84 kB / 0.6018 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.1623, allocations: 7.984 kB / 0.6018 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1624, allocations: 34.56 kB / 0.6019 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1624, allocations: 0 / 0.6019 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001856/0.1642, allocations: 0.6734 MB / 0.6025 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1643, allocations: 55.41 kB / 0.6026 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.1644, allocations: 101.8 kB / 0.6027 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1644, allocations: 25.7 kB / 0.6027 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1645, allocations: 96.03 kB / 0.6028 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.1645, allocations: 39.45 kB / 0.6028 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.1646, allocations: 21.66 kB / 0.6029 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1647, allocations: 314.8 kB / 0.6032 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.1649, allocations: 35.97 kB / 0.6032 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.165, allocations: 35.97 kB / 0.6032 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.1653, allocations: 80.84 kB / 0.6033 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1653, allocations: 96 / 0.6033 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000353/0.1656, allocations: 129.6 kB / 0.6034 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1657, allocations: 9.875 kB / 0.6034 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1657, allocations: 4 kB / 0.6034 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1657, allocations: 0 / 0.6034 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1659, allocations: 35.86 kB / 0.6035 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1659, allocations: 4 kB / 0.6035 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.166, allocations: 7.938 kB / 0.6035 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.166, allocations: 7.984 kB / 0.6035 GB, free: 1.598 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 0.0001004/0.1661, allocations: 117.8 kB / 0.6036 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1661, allocations: 4 kB / 0.6036 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.1665, allocations: 133.5 kB / 0.6037 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1666, allocations: 0 / 0.6037 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1666, allocations: 192 / 0.6037 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1666, allocations: 11.92 kB / 0.6038 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006369/0.1672, allocations: 394.5 kB / 0.6041 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1672, allocations: 0 / 0.6041 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1674, allocations: 27.92 kB / 0.6042 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.1674, allocations: 7.984 kB / 0.6042 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1674, allocations: 7.938 kB / 0.6042 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1674, allocations: 0 / 0.6042 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1674, allocations: 0 / 0.6042 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.168, allocations: 262 kB / 0.6044 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.168, allocations: 85.05 kB / 0.6045 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1681, allocations: 11.94 kB / 0.6045 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1682, allocations: 7.984 kB / 0.6045 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1683, allocations: 4 kB / 0.6045 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1683, allocations: 4 kB / 0.6045 GB, free: 444 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.1683, allocations: 95.14 kB / 0.6046 GB, free: 348 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1683, allocations: 64 / 0.6046 GB, free: 348 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003021/0.1686, allocations: 43.94 kB / 0.6047 GB, free: 304 kB / 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.0002135/0.1689, allocations: 131.2 kB / 0.6048 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1692, allocations: 88.39 kB / 0.6049 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1692, allocations: 0 / 0.6049 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.1694, allocations: 59.84 kB / 0.6049 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1697, allocations: 8.219 kB / 0.6049 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2845/0.4542, allocations: 370.6 kB / 0.6053 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.4544, allocations: 0.6911 MB / 0.606 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.4545, allocations: 13.7 kB / 0.606 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.4545, allocations: 20.16 kB / 0.606 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.4545, allocations: 0 / 0.606 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.003801/0.4583, allocations: 1.113 MB / 0.6071 GB, free: 40.43 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)