Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, 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.001713/0.001713, allocations: 193.8 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.9634/0.9634, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 63.91 kB / 0.5142 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 82.02 MB / 0.5943 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002618/0.1536, allocations: 1.283 MB / 0.5955 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1547, allocations: 0.6227 MB / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.1548, allocations: 0 / 0.5961 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.1548, allocations: 3.938 kB / 0.5961 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.1549, allocations: 7.922 kB / 0.5961 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.1556, allocations: 151.4 kB / 0.5963 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.1557, allocations: 23.92 kB / 0.5963 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.1557, allocations: 11.94 kB / 0.5963 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.1558, allocations: 15.92 kB / 0.5963 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.861e-05/0.1558, allocations: 15.98 kB / 0.5963 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1558, allocations: 0 / 0.5963 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.1564, allocations: 347.3 kB / 0.5967 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1564, allocations: 7.922 kB / 0.5967 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.1564, allocations: 15.94 kB / 0.5967 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.1567, allocations: 151.9 kB / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1567, allocations: 0 / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1567, allocations: 4 kB / 0.5968 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1568, allocations: 0 / 0.5968 GB, free: 6.941 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000421/0.1572, allocations: 371.3 kB / 0.5972 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1572, allocations: 12.03 kB / 0.5972 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.1573, allocations: 0.9375 kB / 0.5972 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1574, allocations: 164.4 kB / 0.5974 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1574, allocations: 384 / 0.5974 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.1575, allocations: 12.36 kB / 0.5974 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.1576, allocations: 42.25 kB / 0.5974 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1576, allocations: 8.188 kB / 0.5974 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1576, allocations: 3.938 kB / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1576, allocations: 0 / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.1577, allocations: 27.91 kB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1579, allocations: 169.5 kB / 0.5976 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.158, allocations: 54.56 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.158, allocations: 28.84 kB / 0.5977 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1581, allocations: 8 kB / 0.5977 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.1581, allocations: 34.56 kB / 0.5977 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.1581, allocations: 0 / 0.5977 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001157/0.1593, allocations: 0.5877 MB / 0.5983 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.1593, allocations: 51.41 kB / 0.5984 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.1594, allocations: 101.8 kB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1594, allocations: 25.7 kB / 0.5985 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.1594, allocations: 80.14 kB / 0.5986 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1595, allocations: 43.39 kB / 0.5986 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1595, allocations: 29.72 kB / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1596, allocations: 314.9 kB / 0.5989 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.1597, allocations: 28.06 kB / 0.599 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.1597, allocations: 19.98 kB / 0.599 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.1598, allocations: 64.78 kB / 0.599 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1599, allocations: 0 / 0.599 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.16, allocations: 104.8 kB / 0.5991 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.16, allocations: 5.562 kB / 0.5991 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.16, allocations: 0 / 0.5991 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1601, allocations: 0 / 0.5991 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1602, allocations: 27.98 kB / 0.5992 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1602, allocations: 0 / 0.5992 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.1602, allocations: 8 kB / 0.5992 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.1602, allocations: 4 kB / 0.5992 GB, free: 4.238 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.461e-05/0.1603, allocations: 117.8 kB / 0.5993 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1603, allocations: 3.938 kB / 0.5993 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.1605, allocations: 105.6 kB / 0.5994 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1606, allocations: 0 / 0.5994 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1606, allocations: 3.938 kB / 0.5994 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1606, allocations: 0 / 0.5994 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.161, allocations: 358.5 kB / 0.5997 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.161, allocations: 0 / 0.5997 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1611, allocations: 19.98 kB / 0.5998 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1611, allocations: 4 kB / 0.5998 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1611, allocations: 4 kB / 0.5998 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1611, allocations: 0 / 0.5998 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1611, allocations: 0 / 0.5998 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1614, allocations: 227.2 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.1615, allocations: 81.02 kB / 0.6001 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.1615, allocations: 7.922 kB / 0.6001 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.1616, allocations: 4.031 kB / 0.6001 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.1616, allocations: 8 kB / 0.6001 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1616, allocations: 4 kB / 0.6001 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.1617, allocations: 79.27 kB / 0.6002 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.6002 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002686/0.1619, allocations: 36 kB / 0.6002 GB, free: 3.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002169/0.1622, allocations: 147.3 kB / 0.6003 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.1623, allocations: 64.23 kB / 0.6004 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1623, allocations: 4 kB / 0.6004 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.1624, allocations: 35.92 kB / 0.6004 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1626, allocations: 8.219 kB / 0.6004 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.1632, allocations: 280.8 kB / 0.6007 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1634, allocations: 0.6885 MB / 0.6014 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.1635, allocations: 8 kB / 0.6014 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.1635, allocations: 11.44 kB / 0.6014 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1635, allocations: 4 kB / 0.6014 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of Templates: time 0.003343/0.1668, allocations: 0.9656 MB / 0.6024 GB, free: 0.8594 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)