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/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_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.001333/0.001333, allocations: 100.1 kB / 15.88 MB, free: 12 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.001398/0.001398, allocations: 195.6 kB / 16.79 MB, free: 6.809 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.302/1.302, allocations: 222.9 MB / 240.5 MB, free: 4.617 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.9288/0.9288, allocations: 143 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 0.5142 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 82.03 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002528/0.1652, allocations: 1.537 MB / 0.5958 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1663, allocations: 0.6424 MB / 0.5964 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1663, allocations: 4 kB / 0.5964 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.1664, allocations: 0 / 0.5964 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.1664, allocations: 7.922 kB / 0.5964 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.1669, allocations: 150.3 kB / 0.5965 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.167, allocations: 43.8 kB / 0.5966 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.1671, allocations: 4 kB / 0.5966 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.1671, allocations: 23.92 kB / 0.5966 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.567e-05/0.1672, allocations: 27.89 kB / 0.5966 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1672, allocations: 4 kB / 0.5966 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.1677, allocations: 343.3 kB / 0.597 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.1677, allocations: 15.92 kB / 0.597 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1677, allocations: 27.86 kB / 0.597 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1679, allocations: 120 kB / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1679, allocations: 0 / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.01e-07/0.1679, allocations: 0 / 0.5971 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.168, allocations: 7.938 kB / 0.5971 GB, free: 7.102 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.0005874/0.1685, allocations: 391.4 kB / 0.5975 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1686, allocations: 12.03 kB / 0.5975 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1686, allocations: 8.844 kB / 0.5975 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1688, allocations: 164.4 kB / 0.5977 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1688, allocations: 12.31 kB / 0.5977 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1688, allocations: 8.375 kB / 0.5977 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.1691, allocations: 74.22 kB / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1691, allocations: 192 / 0.5978 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1691, allocations: 7.938 kB / 0.5978 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1691, allocations: 0 / 0.5978 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.1694, allocations: 51.95 kB / 0.5978 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.1699, allocations: 332.5 kB / 0.5982 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.1702, allocations: 78.53 kB / 0.5982 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1703, allocations: 36.83 kB / 0.5983 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1703, allocations: 0 / 0.5983 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1704, allocations: 34.56 kB / 0.5983 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1704, allocations: 0 / 0.5983 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001564/0.1719, allocations: 0.6422 MB / 0.5989 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.172, allocations: 59.34 kB / 0.599 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.1721, allocations: 105.8 kB / 0.5991 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1721, allocations: 25.7 kB / 0.5991 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.1721, allocations: 96.03 kB / 0.5992 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.1722, allocations: 39.45 kB / 0.5992 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1722, allocations: 25.84 kB / 0.5993 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.1723, allocations: 322.8 kB / 0.5996 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1725, allocations: 27.98 kB / 0.5996 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1726, allocations: 35.97 kB / 0.5996 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1728, allocations: 75.2 kB / 0.5997 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1728, allocations: 4 kB / 0.5997 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003097/0.1731, allocations: 117.5 kB / 0.5998 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1732, allocations: 4 kB / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1732, allocations: 0 / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1732, allocations: 4 kB / 0.5998 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1734, allocations: 23.98 kB / 0.5998 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1734, allocations: 0 / 0.5998 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.1734, allocations: 11.92 kB / 0.5999 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1735, allocations: 4 kB / 0.5999 GB, free: 4 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 7.269e-05/0.1735, allocations: 121.9 kB / 0.6 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.1736, allocations: 11.84 kB / 0.6 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.174, allocations: 129.5 kB / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.174, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.174, allocations: 0 / 0.6001 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.174, allocations: 3.938 kB / 0.6001 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.1745, allocations: 390.5 kB / 0.6005 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1745, allocations: 0 / 0.6005 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.1747, allocations: 27.92 kB / 0.6005 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1747, allocations: 0 / 0.6005 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1747, allocations: 7.938 kB / 0.6005 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1747, allocations: 4 kB / 0.6005 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1747, allocations: 0 / 0.6005 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.1752, allocations: 259.6 kB / 0.6008 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.1753, allocations: 77.11 kB / 0.6008 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1753, allocations: 7.969 kB / 0.6009 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1754, allocations: 7.984 kB / 0.6009 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.1754, allocations: 7.984 kB / 0.6009 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1754, allocations: 4 kB / 0.6009 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.1755, allocations: 83.34 kB / 0.601 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1755, allocations: 3.938 kB / 0.601 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002688/0.1758, allocations: 43.92 kB / 0.601 GB, free: 2.723 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.000196/0.176, allocations: 131.2 kB / 0.6011 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1763, allocations: 87.89 kB / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1763, allocations: 0 / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.1764, allocations: 43.97 kB / 0.6012 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1767, allocations: 15.94 kB / 0.6013 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.1774, allocations: 377.2 kB / 0.6016 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1776, allocations: 0.6887 MB / 0.6023 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1777, allocations: 19.44 kB / 0.6023 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1777, allocations: 0 / 0.6023 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.2572/0.4349, allocations: 1.321 MB / 0.6036 GB, free: 43.5 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)