Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.00143/0.001431, allocations: 105.8 kB / 16.4 MB, free: 6.512 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.001676/0.001676, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8485/0.8485, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.2 kB / 0.5685 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 77.95 MB / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002535/0.1576, allocations: 1.258 MB / 0.6458 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1588, allocations: 0.6152 MB / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.1589, allocations: 0 / 0.6464 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.1589, allocations: 3.938 kB / 0.6464 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.159, allocations: 8 kB / 0.6464 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006757/0.1597, allocations: 151.4 kB / 0.6466 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.1598, allocations: 23.92 kB / 0.6466 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.1598, allocations: 7.938 kB / 0.6466 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.1599, allocations: 15.94 kB / 0.6466 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.1599, allocations: 7.984 kB / 0.6466 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1599, allocations: 0 / 0.6466 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.1605, allocations: 347.3 kB / 0.6469 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.1605, allocations: 11.94 kB / 0.647 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.1605, allocations: 23.91 kB / 0.647 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.1608, allocations: 143.5 kB / 0.6471 GB, free: 6.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1609, allocations: 3.984 kB / 0.6471 GB, free: 6.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1609, allocations: 4 kB / 0.6471 GB, free: 6.418 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1609, allocations: 0 / 0.6471 GB, free: 6.418 MB / 494.1 MB 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.0004651/0.1613, allocations: 367 kB / 0.6475 GB, free: 6.008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1614, allocations: 16.02 kB / 0.6475 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.1614, allocations: 0.9375 kB / 0.6475 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1616, allocations: 176.3 kB / 0.6477 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1616, allocations: 384 / 0.6477 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.1616, allocations: 4.375 kB / 0.6477 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1618, allocations: 58.22 kB / 0.6477 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1618, allocations: 192 / 0.6477 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1618, allocations: 3.938 kB / 0.6477 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1618, allocations: 0 / 0.6477 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.1619, allocations: 19.98 kB / 0.6477 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.1621, allocations: 169.6 kB / 0.6479 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1622, allocations: 62.5 kB / 0.648 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1623, allocations: 28.84 kB / 0.648 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1623, allocations: 4 kB / 0.648 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1623, allocations: 30.56 kB / 0.648 GB, free: 5.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.1624, allocations: 0 / 0.648 GB, free: 5.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001171/0.1635, allocations: 0.5996 MB / 0.6486 GB, free: 4.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1636, allocations: 51.41 kB / 0.6487 GB, free: 4.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.1637, allocations: 97.86 kB / 0.6487 GB, free: 4.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1637, allocations: 25.7 kB / 0.6488 GB, free: 4.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.1637, allocations: 84.14 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.1638, allocations: 47.75 kB / 0.6489 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1638, allocations: 29.64 kB / 0.6489 GB, free: 4.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.1639, allocations: 318.8 kB / 0.6492 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.164, allocations: 19.98 kB / 0.6493 GB, free: 3.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.164, allocations: 20 kB / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.1641, allocations: 62.59 kB / 0.6493 GB, free: 3.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1641, allocations: 0 / 0.6493 GB, free: 3.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001444/0.1643, allocations: 99.55 kB / 0.6494 GB, free: 3.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1643, allocations: 7.938 kB / 0.6494 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1643, allocations: 4 kB / 0.6494 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1643, allocations: 4 kB / 0.6494 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1644, allocations: 27.92 kB / 0.6495 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1644, allocations: 0 / 0.6495 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.1645, allocations: 4 kB / 0.6495 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1645, allocations: 0 / 0.6495 GB, free: 3.703 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 (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 8.149e-05/0.1646, allocations: 114.7 kB / 0.6496 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1646, allocations: 11.92 kB / 0.6496 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1648, allocations: 113.5 kB / 0.6497 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1648, allocations: 0 / 0.6497 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1648, allocations: 4 kB / 0.6497 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1648, allocations: 0 / 0.6497 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.1652, allocations: 346.5 kB / 0.65 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1652, allocations: 0 / 0.65 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1653, allocations: 27.92 kB / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1654, allocations: 0 / 0.6501 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1654, allocations: 4 kB / 0.6501 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1654, allocations: 0 / 0.6501 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1654, allocations: 0 / 0.6501 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1656, allocations: 227.3 kB / 0.6503 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.1657, allocations: 81.11 kB / 0.6504 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1657, allocations: 4.031 kB / 0.6504 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.1658, allocations: 4 kB / 0.6504 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1658, allocations: 7.984 kB / 0.6504 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1658, allocations: 8 kB / 0.6504 GB, free: 2.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.1659, allocations: 83.28 kB / 0.6505 GB, free: 2.578 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1659, allocations: 0 / 0.6505 GB, free: 2.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1661, allocations: 35.88 kB / 0.6505 GB, free: 2.543 MB / 494.1 MB 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.0002107/0.1664, allocations: 131.1 kB / 0.6506 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1665, allocations: 63.86 kB / 0.6507 GB, free: 2.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.1665, allocations: 4 kB / 0.6507 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.1666, allocations: 31.92 kB / 0.6507 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1668, allocations: 8.562 kB / 0.6507 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.1674, allocations: 301.7 kB / 0.651 GB, free: 1.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1676, allocations: 0.6846 MB / 0.6517 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.532e-05/0.1677, allocations: 15.98 kB / 0.6517 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.1677, allocations: 11.44 kB / 0.6517 GB, free: 1.242 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1677, allocations: 0 / 0.6517 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Templates: time 0.003201/0.1709, allocations: 0.9535 MB / 0.6526 GB, free: 332 kB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)