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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001143/0.001143, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.9591/0.9591, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.84 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.152, allocations: 82.05 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002207/0.1543, allocations: 1.337 MB / 0.5949 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1553, allocations: 0.6346 MB / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.1554, allocations: 0 / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.1554, allocations: 0 / 0.5955 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.581e-05/0.1554, allocations: 7.938 kB / 0.5956 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1559, allocations: 127.6 kB / 0.5957 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.1559, allocations: 23.92 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.156, allocations: 8 kB / 0.5957 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.156, allocations: 11.92 kB / 0.5957 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.1561, allocations: 15.92 kB / 0.5957 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1561, allocations: 4 kB / 0.5957 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000478/0.1566, allocations: 339.3 kB / 0.5961 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.1566, allocations: 15.97 kB / 0.5961 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1566, allocations: 7.938 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1569, allocations: 159.9 kB / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1569, allocations: 0 / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1569, allocations: 0 / 0.5962 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1569, allocations: 0 / 0.5962 GB, free: 7.371 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.0004754/0.1574, allocations: 371.4 kB / 0.5966 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1575, allocations: 8.031 kB / 0.5966 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1575, allocations: 4.938 kB / 0.5966 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1576, allocations: 160.4 kB / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1577, allocations: 4.375 kB / 0.5968 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.1577, allocations: 8.375 kB / 0.5968 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1578, allocations: 58.17 kB / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1578, allocations: 192 / 0.5968 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1579, allocations: 11.88 kB / 0.5968 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1579, allocations: 0 / 0.5968 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.01e-05/0.1579, allocations: 19.98 kB / 0.5968 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.1581, allocations: 169.5 kB / 0.597 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1583, allocations: 58.5 kB / 0.5971 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.1583, allocations: 36.78 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.1583, allocations: 0 / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1584, allocations: 34.56 kB / 0.5971 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1584, allocations: 0 / 0.5971 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001197/0.1596, allocations: 0.5832 MB / 0.5977 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1596, allocations: 55.41 kB / 0.5978 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.1597, allocations: 97.84 kB / 0.5979 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1597, allocations: 37.64 kB / 0.5979 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.1598, allocations: 80.14 kB / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.1598, allocations: 39.39 kB / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.1599, allocations: 25.72 kB / 0.598 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.16, allocations: 318.8 kB / 0.5983 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.16, allocations: 16 kB / 0.5983 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.23e-05/0.1601, allocations: 34.36 kB / 0.5984 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.1602, allocations: 52.8 kB / 0.5984 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1602, allocations: 0 / 0.5984 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001439/0.1603, allocations: 108.5 kB / 0.5985 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1604, allocations: 8 kB / 0.5985 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1604, allocations: 0.7812 kB / 0.5985 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1604, allocations: 0 / 0.5985 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1605, allocations: 19.98 kB / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1605, allocations: 0 / 0.5986 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.1606, allocations: 11.94 kB / 0.5986 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1606, allocations: 4 kB / 0.5986 GB, free: 4.664 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 6.632e-05/0.1606, allocations: 113.8 kB / 0.5987 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.1607, allocations: 7.938 kB / 0.5987 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.1609, allocations: 105.6 kB / 0.5988 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1609, allocations: 4 kB / 0.5988 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1609, allocations: 0 / 0.5988 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1609, allocations: 0 / 0.5988 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.1612, allocations: 358.5 kB / 0.5991 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1613, allocations: 0 / 0.5991 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1614, allocations: 20 kB / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1614, allocations: 0 / 0.5992 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1614, allocations: 3.984 kB / 0.5992 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1614, allocations: 4 kB / 0.5992 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1614, allocations: 7.938 kB / 0.5992 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1616, allocations: 215.3 kB / 0.5994 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1617, allocations: 85.05 kB / 0.5995 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.1617, allocations: 8.062 kB / 0.5995 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.1618, allocations: 3.984 kB / 0.5995 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.1618, allocations: 4 kB / 0.5995 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1618, allocations: 4 kB / 0.5995 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.1619, allocations: 83.27 kB / 0.5996 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1619, allocations: 0 / 0.5996 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002906/0.1622, allocations: 36 kB / 0.5996 GB, free: 3.512 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.0002227/0.1624, allocations: 143.1 kB / 0.5997 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.1626, allocations: 64.34 kB / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1626, allocations: 0 / 0.5998 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.1626, allocations: 35.92 kB / 0.5998 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1629, allocations: 10.75 kB / 0.5998 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.1634, allocations: 306.6 kB / 0.6001 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1637, allocations: 0.688 MB / 0.6008 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.1638, allocations: 11.92 kB / 0.6008 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.1638, allocations: 15.44 kB / 0.6008 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1638, allocations: 0 / 0.6008 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.003052/0.1668, allocations: 0.9311 MB / 0.6017 GB, free: 1.293 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)