Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.00187/0.00187, allocations: 187 kB / 17.34 MB, free: 5.719 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.819/0.819, allocations: 135.1 MB / 426.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.38 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002663/0.1669, allocations: 1.274 MB / 0.6665 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.168, allocations: 0.6152 MB / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.168, allocations: 4 kB / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1681, allocations: 0 / 0.6671 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1681, allocations: 3.938 kB / 0.6671 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.1688, allocations: 151.4 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.1689, allocations: 11.94 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.169, allocations: 15.97 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.169, allocations: 7.938 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.1691, allocations: 4 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1691, allocations: 0 / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005267/0.1696, allocations: 347.3 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1697, allocations: 4 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.1697, allocations: 15.92 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.17, allocations: 143.6 kB / 0.6678 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.17, allocations: 0 / 0.6678 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.17, allocations: 0 / 0.6678 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.17, allocations: 4 kB / 0.6678 GB, free: 3.203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004368/0.1705, allocations: 359.3 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1705, allocations: 13.11 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1706, allocations: 0.9375 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1707, allocations: 172.3 kB / 0.6683 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1707, allocations: 4.375 kB / 0.6683 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1707, allocations: 4.375 kB / 0.6684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.1709, allocations: 49.56 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1709, allocations: 3.938 kB / 0.6684 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1709, allocations: 3.938 kB / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1709, allocations: 0 / 0.6684 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.1709, allocations: 15.97 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1711, allocations: 157.7 kB / 0.6686 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1713, allocations: 46.5 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.1714, allocations: 16.86 kB / 0.6686 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1714, allocations: 3.938 kB / 0.6686 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1715, allocations: 34.56 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1715, allocations: 0 / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007424/0.1722, allocations: 310.3 kB / 0.669 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1723, allocations: 55.41 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.1724, allocations: 93.86 kB / 0.6691 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1724, allocations: 29.7 kB / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.1724, allocations: 84.14 kB / 0.6692 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1725, allocations: 19.7 kB / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1725, allocations: 21.72 kB / 0.6693 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1727, allocations: 310.8 kB / 0.6696 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.1727, allocations: 11.98 kB / 0.6696 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.1727, allocations: 12 kB / 0.6696 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.1728, allocations: 36.8 kB / 0.6696 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1728, allocations: 3.984 kB / 0.6696 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.1729, allocations: 65.62 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1729, allocations: 4 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1729, allocations: 0 / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.173, allocations: 3.984 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.173, allocations: 20.06 kB / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.173, allocations: 0 / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1731, allocations: 0 / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1731, allocations: 8 kB / 0.6697 GB, free: 1 MB / 0.4981 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 (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.922e-05/0.1732, allocations: 117.7 kB / 0.6698 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.1732, allocations: 7.906 kB / 0.6698 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.1733, allocations: 73.58 kB / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1734, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1734, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1734, allocations: 0 / 0.6699 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.1737, allocations: 315.4 kB / 0.6702 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1737, allocations: 7.938 kB / 0.6702 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.1738, allocations: 11.98 kB / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1738, allocations: 0 / 0.6702 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1738, allocations: 7.938 kB / 0.6702 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1738, allocations: 0 / 0.6702 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1739, allocations: 240 / 0.6702 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.1741, allocations: 184.8 kB / 0.6704 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.1741, allocations: 89.05 kB / 0.6705 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1741, allocations: 0 / 0.6705 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1742, allocations: 4 kB / 0.6705 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.1742, allocations: 3.984 kB / 0.6705 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.1743, allocations: 4.188 kB / 0.6705 GB, free: 80 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.58e-05/0.1743, allocations: 87.2 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1743, allocations: 4 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002595/0.1746, allocations: 16 kB / 0.6706 GB, free: 15.97 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002353/0.1748, allocations: 128.6 kB / 0.6707 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.175, allocations: 47.92 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.175, allocations: 0 / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.175, allocations: 23.92 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1753, allocations: 4 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1758, allocations: 209.7 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1761, allocations: 0.6807 MB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1761, allocations: 11.44 kB / 0.6717 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1761, allocations: 0 / 0.6717 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.002324/0.1784, allocations: 0.7985 MB / 0.6725 GB, free: 14.01 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)