Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001833/0.001833, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001849/0.001849, allocations: 185.5 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 73.89 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002983/0.1544, allocations: 1.469 MB / 0.6667 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1556, allocations: 0.6345 MB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.1556, allocations: 3.938 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.1557, allocations: 0 / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.078e-05/0.1558, allocations: 7.875 kB / 0.6674 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.1565, allocations: 159.3 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1566, allocations: 51.66 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1567, allocations: 11.91 kB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.776e-05/0.1568, allocations: 23.91 kB / 0.6676 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.1568, allocations: 27.91 kB / 0.6676 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1569, allocations: 4 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.1574, allocations: 351.2 kB / 0.668 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1574, allocations: 8 kB / 0.668 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.1575, allocations: 27.86 kB / 0.668 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.1578, allocations: 179.5 kB / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1578, allocations: 0 / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1578, allocations: 0 / 0.6682 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1578, allocations: 4 kB / 0.6682 GB, free: 2.855 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006308/0.1584, allocations: 395.3 kB / 0.6686 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1585, allocations: 9.109 kB / 0.6686 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1585, allocations: 8.875 kB / 0.6686 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1586, allocations: 176.2 kB / 0.6687 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1587, allocations: 4.375 kB / 0.6687 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1587, allocations: 8.375 kB / 0.6688 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.159, allocations: 85.09 kB / 0.6688 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.159, allocations: 4 kB / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.159, allocations: 0 / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.159, allocations: 4 kB / 0.6688 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.1592, allocations: 47.95 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.1598, allocations: 324.6 kB / 0.6692 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1601, allocations: 82.53 kB / 0.6693 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1602, allocations: 28.84 kB / 0.6693 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1602, allocations: 7.922 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1602, allocations: 34.5 kB / 0.6693 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.1602, allocations: 4 kB / 0.6693 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001657/0.1619, allocations: 0.6423 MB / 0.67 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.162, allocations: 55.41 kB / 0.67 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.162, allocations: 101.8 kB / 0.6701 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1621, allocations: 29.7 kB / 0.6702 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1621, allocations: 88.05 kB / 0.6702 GB, free: 476 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1622, allocations: 43.33 kB / 0.6703 GB, free: 432 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.1622, allocations: 33.83 kB / 0.6703 GB, free: 392 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1623, allocations: 314.8 kB / 0.6706 GB, free: 68 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1625, allocations: 39.98 kB / 0.6706 GB, free: 28 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.1626, allocations: 32.05 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1628, allocations: 72.77 kB / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1628, allocations: 0 / 0.6707 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002899/0.1631, allocations: 113.6 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1632, allocations: 8 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1632, allocations: 4 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1632, allocations: 8.031 kB / 0.6709 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.1634, allocations: 27.92 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1634, allocations: 0 / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.1634, allocations: 11.98 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1635, allocations: 4 kB / 0.6709 GB, free: 15.74 MB / 0.5137 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 (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.781e-05/0.1636, allocations: 117.8 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1636, allocations: 4 kB / 0.671 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.164, allocations: 129.6 kB / 0.6712 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.164, allocations: 7.922 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.164, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.164, allocations: 4 kB / 0.6712 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.1646, allocations: 382.6 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1646, allocations: 3.938 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.1648, allocations: 27.97 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1648, allocations: 8 kB / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1648, allocations: 0 / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1648, allocations: 0 / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1648, allocations: 0 / 0.6716 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.1653, allocations: 255.3 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1653, allocations: 88.98 kB / 0.6719 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1654, allocations: 4.062 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.1655, allocations: 11.98 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1655, allocations: 4 kB / 0.6719 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.1655, allocations: 7.984 kB / 0.6719 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.1656, allocations: 83.47 kB / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1656, allocations: 0 / 0.672 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003449/0.1659, allocations: 28 kB / 0.672 GB, free: 14.49 MB / 0.5137 GB 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.0003048/0.1662, allocations: 140.6 kB / 0.6722 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.1666, allocations: 91.83 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1666, allocations: 4 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1667, allocations: 47.91 kB / 0.6723 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1671, allocations: 15.92 kB / 0.6723 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.1678, allocations: 338 kB / 0.6726 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.168, allocations: 0.6924 MB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1681, allocations: 19.42 kB / 0.6733 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.1681, allocations: 3.938 kB / 0.6733 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.003192/0.1713, allocations: 1.327 MB / 0.6746 GB, free: 11.77 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)