Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001493/0.001493, allocations: 101.9 kB / 16.4 MB, free: 6.508 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.001696/0.001696, allocations: 196 kB / 17.34 MB, free: 5.742 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.2 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1684, allocations: 76.18 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002278/0.1707, allocations: 1.253 MB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1718, allocations: 0.6191 MB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.1718, allocations: 0 / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.1719, allocations: 0 / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.1719, allocations: 7.938 kB / 0.6339 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.1725, allocations: 139.4 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.1726, allocations: 23.92 kB / 0.6341 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.141e-05/0.1727, allocations: 4 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.1728, allocations: 7.984 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.1728, allocations: 15.92 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1729, allocations: 0 / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.1734, allocations: 339.3 kB / 0.6344 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.1734, allocations: 7.984 kB / 0.6344 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1735, allocations: 7.938 kB / 0.6344 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.1738, allocations: 147.6 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1738, allocations: 0 / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1738, allocations: 4 kB / 0.6346 GB, free: 1.855 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1738, allocations: 0 / 0.6346 GB, free: 1.855 MB / 478.1 MB 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.0005179/0.1743, allocations: 355.5 kB / 0.6349 GB, free: 1.457 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.1744, allocations: 8.031 kB / 0.6349 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1744, allocations: 12.84 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1746, allocations: 164.4 kB / 0.6351 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1746, allocations: 384 / 0.6351 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1746, allocations: 4.375 kB / 0.6351 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1747, allocations: 38.25 kB / 0.6351 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1748, allocations: 4.188 kB / 0.6351 GB, free: 1.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1748, allocations: 7.938 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1748, allocations: 0 / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.1748, allocations: 11.94 kB / 0.6352 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.175, allocations: 157.7 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1752, allocations: 38.61 kB / 0.6353 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.1753, allocations: 20.94 kB / 0.6354 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1753, allocations: 7.938 kB / 0.6354 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1754, allocations: 34.56 kB / 0.6354 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1754, allocations: 0 / 0.6354 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006797/0.176, allocations: 322.4 kB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.1761, allocations: 51.41 kB / 0.6358 GB, free: 424 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.1762, allocations: 101.8 kB / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1762, allocations: 25.7 kB / 0.6359 GB, free: 280 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.1763, allocations: 88.08 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1763, allocations: 23.7 kB / 0.636 GB, free: 164 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1764, allocations: 17.72 kB / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1765, allocations: 310.8 kB / 0.6363 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.1765, allocations: 15.98 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.1766, allocations: 12 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.1766, allocations: 33 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1766, allocations: 0 / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001212/0.1768, allocations: 73.53 kB / 0.6364 GB, free: 15.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1768, allocations: 13.5 kB / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1768, allocations: 0 / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.1768, allocations: 0 / 0.6364 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.1769, allocations: 11.98 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1769, allocations: 4 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.852e-05/0.1769, allocations: 0 / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1769, allocations: 0 / 0.6365 GB, free: 15.66 MB / 494.1 MB 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.706e-05/0.177, allocations: 113.8 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.177, allocations: 7.938 kB / 0.6366 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1772, allocations: 81.5 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1772, allocations: 4 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1772, allocations: 0 / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1772, allocations: 0 / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.1776, allocations: 315.4 kB / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1776, allocations: 192 / 0.637 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.1777, allocations: 16 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1777, allocations: 3.984 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1777, allocations: 4.031 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1777, allocations: 0 / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/0.1777, allocations: 4 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1779, allocations: 180.2 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.178, allocations: 85.12 kB / 0.6372 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.178, allocations: 3.938 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.1781, allocations: 8.062 kB / 0.6372 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1781, allocations: 4 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1781, allocations: 3.984 kB / 0.6373 GB, free: 14.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.243e-05/0.1782, allocations: 83.28 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1782, allocations: 0 / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1784, allocations: 24 kB / 0.6374 GB, free: 14.61 MB / 494.1 MB 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.0001941/0.1786, allocations: 115.2 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1787, allocations: 35.92 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1787, allocations: 4 kB / 0.6375 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.1788, allocations: 19.98 kB / 0.6375 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.179, allocations: 11.88 kB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1795, allocations: 200.5 kB / 0.6377 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1798, allocations: 0.6807 MB / 0.6384 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.1798, allocations: 7.984 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1798, allocations: 7.438 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1798, allocations: 0 / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.003044/0.1829, allocations: 0.6439 MB / 0.639 GB, free: 12.84 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)