Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 115.3 kB / 17.08 MB, free: 6.004 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.00108/0.00108, allocations: 199 kB / 18.01 MB, free: 5.086 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7105/0.7105, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 66.67 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002996/0.1603, allocations: 1.457 MB / 0.6342 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.1615, allocations: 0.6267 MB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.1616, allocations: 4 kB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.1617, allocations: 7.922 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1617, allocations: 3.938 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.1625, allocations: 162.1 kB / 0.6349 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1626, allocations: 51.78 kB / 0.635 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.1627, allocations: 4 kB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/0.1628, allocations: 27.91 kB / 0.635 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.1628, allocations: 23.92 kB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1628, allocations: 4 kB / 0.635 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.1634, allocations: 347.3 kB / 0.6354 GB, free: 1.688 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.1634, allocations: 19.92 kB / 0.6354 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1635, allocations: 27.86 kB / 0.6354 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1638, allocations: 175.5 kB / 0.6356 GB, free: 1.469 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1639, allocations: 3.938 kB / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1639, allocations: 0 / 0.6356 GB, free: 1.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1639, allocations: 0 / 0.6356 GB, free: 1.465 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007067/0.1646, allocations: 399.3 kB / 0.636 GB, free: 1.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1646, allocations: 8.031 kB / 0.636 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.1647, allocations: 8.844 kB / 0.636 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1648, allocations: 168.3 kB / 0.6362 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.1649, allocations: 8.375 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1649, allocations: 4.375 kB / 0.6362 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1652, allocations: 82.2 kB / 0.6362 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1652, allocations: 192 / 0.6362 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1652, allocations: 7.938 kB / 0.6362 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1652, allocations: 0 / 0.6362 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.1655, allocations: 47.95 kB / 0.6363 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.1661, allocations: 328.6 kB / 0.6366 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1664, allocations: 90.45 kB / 0.6367 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1665, allocations: 24.84 kB / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1665, allocations: 8 kB / 0.6367 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1665, allocations: 30.56 kB / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1665, allocations: 0 / 0.6368 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001719/0.1683, allocations: 0.6502 MB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1683, allocations: 55.41 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.1684, allocations: 101.8 kB / 0.6375 GB, free: 15.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.1684, allocations: 29.7 kB / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1685, allocations: 92.05 kB / 0.6377 GB, free: 15.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.1685, allocations: 43.39 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.1686, allocations: 29.7 kB / 0.6377 GB, free: 14.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1687, allocations: 318.8 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1689, allocations: 31.97 kB / 0.6381 GB, free: 14.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.169, allocations: 27.98 kB / 0.6381 GB, free: 14.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1692, allocations: 76.77 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1692, allocations: 0 / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003028/0.1696, allocations: 128.6 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1696, allocations: 7.984 kB / 0.6383 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1696, allocations: 4 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1696, allocations: 0 / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1698, allocations: 23.98 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1698, allocations: 4 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.1698, allocations: 11.94 kB / 0.6383 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1699, allocations: 4 kB / 0.6383 GB, free: 14.34 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 9.92e-05/0.17, allocations: 125.8 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.17, allocations: 0 / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1704, allocations: 129.5 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1704, allocations: 0 / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1704, allocations: 0 / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1704, allocations: 7.922 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.171, allocations: 386.3 kB / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.171, allocations: 0 / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1711, allocations: 27.98 kB / 0.639 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1711, allocations: 0 / 0.639 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1711, allocations: 11.92 kB / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1712, allocations: 0 / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1712, allocations: 0 / 0.639 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.1716, allocations: 263.5 kB / 0.6392 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.1717, allocations: 81.14 kB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1717, allocations: 3.938 kB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1718, allocations: 11.98 kB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1719, allocations: 4 kB / 0.6393 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1719, allocations: 4 kB / 0.6393 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.1719, allocations: 83.44 kB / 0.6394 GB, free: 13.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1719, allocations: 64 / 0.6394 GB, free: 13.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1722, allocations: 44 kB / 0.6395 GB, free: 13.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002141/0.1725, allocations: 135.1 kB / 0.6396 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.1728, allocations: 87.83 kB / 0.6397 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.1728, allocations: 0 / 0.6397 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1729, allocations: 47.91 kB / 0.6397 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1732, allocations: 14.03 kB / 0.6397 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006655/0.1739, allocations: 331.5 kB / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1742, allocations: 0.6924 MB / 0.6407 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.1743, allocations: 19.44 kB / 0.6407 GB, free: 11.69 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1743, allocations: 0 / 0.6407 GB, free: 11.69 MB / 494.1 MB Notification: Performance of Templates: time 0.003128/0.1774, allocations: 1.334 MB / 0.6421 GB, free: 10.37 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)