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.001743/0.001743, allocations: 115.7 kB / 17.09 MB, free: 5.992 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.001978/0.001979, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.98 kB / 0.5583 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 76.19 MB / 0.6327 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002645/0.163, allocations: 1.249 MB / 0.634 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1642, allocations: 0.6191 MB / 0.6346 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.1643, allocations: 0 / 0.6346 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.1643, allocations: 3.984 kB / 0.6346 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.1643, allocations: 7.938 kB / 0.6346 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.1651, allocations: 135.4 kB / 0.6347 GB, free: 2.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.1652, allocations: 19.92 kB / 0.6347 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.076e-05/0.1653, allocations: 7.984 kB / 0.6347 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.1654, allocations: 7.938 kB / 0.6347 GB, free: 2.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.1654, allocations: 7.938 kB / 0.6347 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1654, allocations: 0 / 0.6347 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.166, allocations: 347.3 kB / 0.6351 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1661, allocations: 11.98 kB / 0.6351 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1661, allocations: 7.938 kB / 0.6351 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.1665, allocations: 143.6 kB / 0.6352 GB, free: 1.941 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1665, allocations: 0 / 0.6352 GB, free: 1.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1665, allocations: 0 / 0.6352 GB, free: 1.941 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1665, allocations: 0 / 0.6352 GB, free: 1.941 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.0005255/0.167, allocations: 359.4 kB / 0.6356 GB, free: 1.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1671, allocations: 12.03 kB / 0.6356 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1671, allocations: 4.844 kB / 0.6356 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1673, allocations: 164.4 kB / 0.6357 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1673, allocations: 12.38 kB / 0.6358 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1673, allocations: 384 / 0.6358 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1674, allocations: 42.25 kB / 0.6358 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1675, allocations: 192 / 0.6358 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1675, allocations: 3.938 kB / 0.6358 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1675, allocations: 0 / 0.6358 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.1675, allocations: 15.92 kB / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1677, allocations: 157.7 kB / 0.636 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.1679, allocations: 42.56 kB / 0.636 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.168, allocations: 20.8 kB / 0.636 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.168, allocations: 3.984 kB / 0.636 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.168, allocations: 34.56 kB / 0.6361 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.168, allocations: 0 / 0.6361 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006729/0.1687, allocations: 318.2 kB / 0.6364 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.1688, allocations: 55.41 kB / 0.6364 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.1688, allocations: 97.86 kB / 0.6365 GB, free: 396 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1688, allocations: 25.7 kB / 0.6365 GB, free: 364 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.1689, allocations: 84.12 kB / 0.6366 GB, free: 276 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1689, allocations: 19.72 kB / 0.6366 GB, free: 256 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.169, allocations: 17.72 kB / 0.6367 GB, free: 232 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1691, allocations: 318.8 kB / 0.637 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.621e-05/0.1691, allocations: 8 kB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.1692, allocations: 16 kB / 0.637 GB, free: 15.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.962e-05/0.1693, allocations: 33 kB / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1693, allocations: 0 / 0.637 GB, free: 15.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.1694, allocations: 81.5 kB / 0.6371 GB, free: 15.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1694, allocations: 7.938 kB / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1694, allocations: 0 / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1694, allocations: 3.938 kB / 0.6371 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.1695, allocations: 12 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1695, allocations: 0 / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.1695, allocations: 0 / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1695, allocations: 4 kB / 0.6371 GB, free: 15.73 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 9.439e-05/0.1696, allocations: 113.8 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.1697, allocations: 7.922 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1698, allocations: 77.53 kB / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1698, allocations: 0 / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1698, allocations: 0 / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1698, allocations: 0 / 0.6373 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1702, allocations: 315.4 kB / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1702, allocations: 3.984 kB / 0.6376 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.327e-05/0.1703, allocations: 12 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1703, allocations: 0 / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1703, allocations: 4.188 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1703, allocations: 8 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1703, allocations: 3.938 kB / 0.6376 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.1705, allocations: 188.2 kB / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1706, allocations: 81.14 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1706, allocations: 0 / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.1707, allocations: 7.984 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.1707, allocations: 0 / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1707, allocations: 8 kB / 0.6379 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.1708, allocations: 75.28 kB / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1708, allocations: 0 / 0.638 GB, free: 14.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.171, allocations: 20 kB / 0.638 GB, free: 14.71 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.0001994/0.1712, allocations: 135.3 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1714, allocations: 35.92 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1714, allocations: 0 / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.1714, allocations: 12 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1716, allocations: 14 kB / 0.6382 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.1721, allocations: 225.9 kB / 0.6384 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1724, allocations: 0.6768 MB / 0.6391 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.1725, allocations: 11.44 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1725, allocations: 0 / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of Templates: time 0.002455/0.175, allocations: 0.8151 MB / 0.6399 GB, free: 12.72 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)