Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, 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.001314/0.001314, allocations: 193.9 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.9975/0.9975, allocations: 143 MB / 433.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.91 kB / 0.5142 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1686, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002502/0.1712, allocations: 1.329 MB / 0.5956 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1723, allocations: 0.6346 MB / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.1724, allocations: 0 / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.1724, allocations: 0 / 0.5962 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.1725, allocations: 7.938 kB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.173, allocations: 119.6 kB / 0.5963 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.226e-05/0.173, allocations: 19.92 kB / 0.5963 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.1731, allocations: 4 kB / 0.5963 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.1731, allocations: 8 kB / 0.5963 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.911e-05/0.1732, allocations: 11.92 kB / 0.5963 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1732, allocations: 3.938 kB / 0.5964 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.1737, allocations: 347.3 kB / 0.5967 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.1737, allocations: 0 / 0.5967 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1737, allocations: 11.94 kB / 0.5967 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1739, allocations: 100.1 kB / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.174, allocations: 0 / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.174, allocations: 0 / 0.5968 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.174, allocations: 4 kB / 0.5968 GB, free: 7.461 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.0005243/0.1745, allocations: 363.3 kB / 0.5971 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1745, allocations: 12.02 kB / 0.5972 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1746, allocations: 0.9375 kB / 0.5972 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1748, allocations: 168.4 kB / 0.5973 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1748, allocations: 384 / 0.5973 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1748, allocations: 8.312 kB / 0.5973 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.1749, allocations: 38.25 kB / 0.5974 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1749, allocations: 192 / 0.5974 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.175, allocations: 7.938 kB / 0.5974 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.175, allocations: 0 / 0.5974 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.175, allocations: 8 kB / 0.5974 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1752, allocations: 157.7 kB / 0.5975 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1754, allocations: 50.48 kB / 0.5976 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.1755, allocations: 16.84 kB / 0.5976 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1755, allocations: 4 kB / 0.5976 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1755, allocations: 38.56 kB / 0.5976 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1755, allocations: 0 / 0.5976 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006292/0.1762, allocations: 318.1 kB / 0.5979 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1762, allocations: 55.41 kB / 0.598 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.1763, allocations: 97.86 kB / 0.5981 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1763, allocations: 25.7 kB / 0.5981 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.1763, allocations: 84.14 kB / 0.5982 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.1764, allocations: 19.8 kB / 0.5982 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1764, allocations: 17.72 kB / 0.5982 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1765, allocations: 310.8 kB / 0.5985 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.1766, allocations: 15.98 kB / 0.5985 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.145e-05/0.1766, allocations: 8 kB / 0.5985 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.1767, allocations: 32.8 kB / 0.5986 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1767, allocations: 0 / 0.5986 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.492e-05/0.1768, allocations: 69.59 kB / 0.5986 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1768, allocations: 11.94 kB / 0.5986 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1768, allocations: 64 / 0.5986 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1768, allocations: 8 kB / 0.5987 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.961e-05/0.1769, allocations: 11.98 kB / 0.5987 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1769, allocations: 0 / 0.5987 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.1769, allocations: 0 / 0.5987 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1769, allocations: 7.938 kB / 0.5987 GB, free: 5.262 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 8.246e-05/0.177, allocations: 113.8 kB / 0.5988 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.177, allocations: 7.938 kB / 0.5988 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.1772, allocations: 73.64 kB / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1772, allocations: 0 / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1772, allocations: 0 / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1772, allocations: 0 / 0.5989 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.1775, allocations: 323.3 kB / 0.5992 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1775, allocations: 0 / 0.5992 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1777, allocations: 11.98 kB / 0.5992 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1777, allocations: 4 kB / 0.5992 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1777, allocations: 4.031 kB / 0.5992 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1777, allocations: 3.938 kB / 0.5992 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1777, allocations: 0 / 0.5992 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1779, allocations: 184.2 kB / 0.5994 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.1779, allocations: 81.09 kB / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.178, allocations: 4 kB / 0.5994 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.178, allocations: 4 kB / 0.5995 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1781, allocations: 8.047 kB / 0.5995 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1781, allocations: 4.188 kB / 0.5995 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.1781, allocations: 79.8 kB / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1781, allocations: 0 / 0.5995 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002362/0.1784, allocations: 23.94 kB / 0.5996 GB, free: 4.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002592/0.1786, allocations: 123.2 kB / 0.5997 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.1787, allocations: 31.98 kB / 0.5997 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1787, allocations: 4 kB / 0.5997 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.1788, allocations: 23.92 kB / 0.5997 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.179, allocations: 9.984 kB / 0.5997 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.1794, allocations: 235.5 kB / 0.6 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1797, allocations: 0.6809 MB / 0.6006 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.1797, allocations: 7.438 kB / 0.6006 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1797, allocations: 4 kB / 0.6006 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.002445/0.1821, allocations: 0.8159 MB / 0.6014 GB, free: 2.242 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)