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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001769/0.001769, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.9689/0.9689, allocations: 143 MB / 433 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002796/0.1533, allocations: 1.343 MB / 0.5949 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1547, allocations: 0.6345 MB / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.1548, allocations: 0 / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.1549, allocations: 0 / 0.5955 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.1549, allocations: 11.91 kB / 0.5955 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.1555, allocations: 123.6 kB / 0.5957 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.1556, allocations: 19.92 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1557, allocations: 4 kB / 0.5957 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1557, allocations: 8 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.1558, allocations: 15.91 kB / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1558, allocations: 0 / 0.5957 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.1564, allocations: 343.3 kB / 0.596 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.1564, allocations: 7.984 kB / 0.596 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1564, allocations: 7.938 kB / 0.5961 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1567, allocations: 147.9 kB / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1567, allocations: 0 / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1568, allocations: 0 / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1568, allocations: 0 / 0.5962 GB, free: 7.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004365/0.1572, allocations: 363.4 kB / 0.5965 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1573, allocations: 12.03 kB / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1573, allocations: 0.9375 kB / 0.5966 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1574, allocations: 164.4 kB / 0.5967 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1574, allocations: 4.375 kB / 0.5967 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.1575, allocations: 4.375 kB / 0.5967 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1576, allocations: 38.25 kB / 0.5968 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1576, allocations: 192 / 0.5968 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1576, allocations: 7.938 kB / 0.5968 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1576, allocations: 11.88 kB / 0.5968 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.1577, allocations: 8 kB / 0.5968 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.1578, allocations: 153.7 kB / 0.5969 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.158, allocations: 42.61 kB / 0.597 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.1581, allocations: 20.94 kB / 0.597 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1581, allocations: 3.938 kB / 0.597 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1581, allocations: 38.56 kB / 0.597 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.1582, allocations: 3.938 kB / 0.597 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008005/0.159, allocations: 314.1 kB / 0.5973 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.159, allocations: 51.41 kB / 0.5974 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.1591, allocations: 98.17 kB / 0.5975 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1591, allocations: 29.7 kB / 0.5975 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1592, allocations: 84.14 kB / 0.5976 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1592, allocations: 11.81 kB / 0.5976 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1592, allocations: 21.7 kB / 0.5976 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.1593, allocations: 318.8 kB / 0.5979 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.1594, allocations: 8 kB / 0.5979 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.1594, allocations: 11.98 kB / 0.5979 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.1595, allocations: 32.86 kB / 0.598 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1595, allocations: 0 / 0.598 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.966e-05/0.1596, allocations: 69.72 kB / 0.598 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1596, allocations: 7.938 kB / 0.598 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1596, allocations: 4 kB / 0.598 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1596, allocations: 0 / 0.598 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.483e-05/0.1597, allocations: 23.92 kB / 0.5981 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.1597, allocations: 3.984 kB / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1597, allocations: 0 / 0.5981 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1597, allocations: 0 / 0.5981 GB, free: 5.211 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 (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 6.481e-05/0.1598, allocations: 113.8 kB / 0.5982 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.1598, allocations: 3.938 kB / 0.5982 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.16, allocations: 81.66 kB / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.16, allocations: 0 / 0.5983 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.16, allocations: 3.984 kB / 0.5983 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.16, allocations: 0 / 0.5983 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1603, allocations: 315.3 kB / 0.5986 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1603, allocations: 0 / 0.5986 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.1604, allocations: 12 kB / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1604, allocations: 0 / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1604, allocations: 0 / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1604, allocations: 12.02 kB / 0.5986 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1604, allocations: 240 / 0.5986 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1606, allocations: 184.1 kB / 0.5988 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1606, allocations: 89.12 kB / 0.5989 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1606, allocations: 0 / 0.5989 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1607, allocations: 4 kB / 0.5989 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1607, allocations: 0 / 0.5989 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1607, allocations: 8.062 kB / 0.5989 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.1608, allocations: 83.27 kB / 0.5989 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1608, allocations: 0 / 0.5989 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002431/0.161, allocations: 23.94 kB / 0.599 GB, free: 4.18 MB / 0.4981 GB 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.0001761/0.1612, allocations: 115.2 kB / 0.5991 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.55e-05/0.1613, allocations: 43.91 kB / 0.5991 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1613, allocations: 0 / 0.5991 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.1614, allocations: 16 kB / 0.5991 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1616, allocations: 15.92 kB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.162, allocations: 210 kB / 0.5994 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.1622, allocations: 0.6809 MB / 0.6 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.1622, allocations: 7.984 kB / 0.6 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1622, allocations: 11.44 kB / 0.6 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1622, allocations: 3.938 kB / 0.6 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.002591/0.1648, allocations: 0.6426 MB / 0.6007 GB, free: 2.41 MB / 0.4981 GB 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)