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.001337/0.001337, 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.001472/0.001472, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.416/1.416, allocations: 222.9 MB / 239.8 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.9601/0.9601, allocations: 143 MB / 433 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1472, allocations: 82.03 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002316/0.1496, allocations: 1.535 MB / 0.5951 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1506, allocations: 0.6424 MB / 0.5957 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.1506, allocations: 4 kB / 0.5957 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.1507, allocations: 0 / 0.5957 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.27e-05/0.1507, allocations: 3.938 kB / 0.5957 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.1512, allocations: 139.6 kB / 0.5959 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.1513, allocations: 47.78 kB / 0.5959 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.1513, allocations: 7.984 kB / 0.5959 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.1514, allocations: 23.92 kB / 0.596 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.956e-05/0.1514, allocations: 19.92 kB / 0.596 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1515, allocations: 4 kB / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1519, allocations: 347.3 kB / 0.5963 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.1519, allocations: 15.92 kB / 0.5963 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.152, allocations: 31.84 kB / 0.5964 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.1523, allocations: 171.8 kB / 0.5965 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1523, allocations: 4 kB / 0.5965 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1523, allocations: 7.938 kB / 0.5965 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1523, allocations: 0 / 0.5965 GB, free: 7.043 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.0006032/0.1529, allocations: 399.3 kB / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.153, allocations: 8.031 kB / 0.5969 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.153, allocations: 8.844 kB / 0.5969 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.1531, allocations: 164.4 kB / 0.5971 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.1532, allocations: 4.375 kB / 0.5971 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1532, allocations: 12.38 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1534, allocations: 74.22 kB / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1534, allocations: 4.188 kB / 0.5972 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.1535, allocations: 3.938 kB / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1535, allocations: 3.938 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.1537, allocations: 58.08 kB / 0.5972 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.1543, allocations: 320.6 kB / 0.5975 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1545, allocations: 86.45 kB / 0.5976 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1546, allocations: 28.84 kB / 0.5976 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1547, allocations: 8 kB / 0.5977 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.1547, allocations: 38.55 kB / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.1547, allocations: 0 / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00155/0.1563, allocations: 0.6415 MB / 0.5983 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1563, allocations: 55.41 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.1564, allocations: 101.8 kB / 0.5985 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1564, allocations: 25.7 kB / 0.5985 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.1564, allocations: 96.03 kB / 0.5986 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1565, allocations: 39.44 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.1565, allocations: 29.72 kB / 0.5987 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.1566, allocations: 322.8 kB / 0.599 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1568, allocations: 27.92 kB / 0.599 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1569, allocations: 35.97 kB / 0.599 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1571, allocations: 72.83 kB / 0.5991 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1571, allocations: 0 / 0.5991 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003099/0.1575, allocations: 123.9 kB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1575, allocations: 4 kB / 0.5992 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1575, allocations: 0 / 0.5992 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1575, allocations: 4 kB / 0.5992 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1577, allocations: 27.92 kB / 0.5992 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1577, allocations: 4.719 kB / 0.5992 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.1578, allocations: 11.92 kB / 0.5993 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1578, allocations: 8.094 kB / 0.5993 GB, free: 3.926 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.151e-05/0.1579, allocations: 117.8 kB / 0.5994 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.1579, allocations: 7.906 kB / 0.5994 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.1583, allocations: 129.5 kB / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1583, allocations: 0 / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1583, allocations: 0 / 0.5995 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1583, allocations: 3.938 kB / 0.5995 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1588, allocations: 382.5 kB / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1588, allocations: 0 / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.159, allocations: 27.92 kB / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.159, allocations: 0 / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.159, allocations: 7.938 kB / 0.5999 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.159, allocations: 4 kB / 0.5999 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.159, allocations: 0 / 0.5999 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004645/0.1595, allocations: 251.6 kB / 0.6002 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.1596, allocations: 81.11 kB / 0.6002 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1596, allocations: 7.969 kB / 0.6002 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1597, allocations: 7.984 kB / 0.6002 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.1597, allocations: 7.984 kB / 0.6003 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.1597, allocations: 4 kB / 0.6003 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.1598, allocations: 83.45 kB / 0.6003 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1598, allocations: 4.062 kB / 0.6003 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002743/0.1601, allocations: 39.94 kB / 0.6004 GB, free: 2.672 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.0001954/0.1603, allocations: 143.1 kB / 0.6005 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.1606, allocations: 75.95 kB / 0.6006 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1606, allocations: 0 / 0.6006 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1607, allocations: 51.84 kB / 0.6006 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.161, allocations: 15.94 kB / 0.6007 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.1616, allocations: 339.5 kB / 0.601 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1619, allocations: 0.6926 MB / 0.6017 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.03e-05/0.1619, allocations: 12.66 kB / 0.6017 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.162, allocations: 15.44 kB / 0.6017 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.162, allocations: 0 / 0.6017 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.003144/0.1651, allocations: 1.131 MB / 0.6028 GB, free: 196 kB / 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)