Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.008411/0.008411, allocations: 102.2 kB / 15.73 MB, free: 5.969 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.0012/0.001201, allocations: 197.2 kB / 16.67 MB, free: 5.906 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7678/0.7678, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.58 kB / 0.5814 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002363/0.1765, allocations: 1.271 MB / 0.6609 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1777, allocations: 0.6175 MB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.1777, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.1778, allocations: 4 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.1778, allocations: 19.84 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006756/0.1785, allocations: 141.4 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.1786, allocations: 15.94 kB / 0.6617 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.742e-05/0.1787, allocations: 7.984 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.6e-05/0.1787, allocations: 11.92 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.1788, allocations: 8 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1788, allocations: 0 / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005639/0.1794, allocations: 347.3 kB / 0.662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.1794, allocations: 11.92 kB / 0.6621 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1794, allocations: 8 kB / 0.6621 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.1797, allocations: 143.6 kB / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1797, allocations: 0 / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1797, allocations: 0 / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.1798, allocations: 0 / 0.6622 GB, free: 10.94 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.000462/0.1802, allocations: 359.4 kB / 0.6625 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1803, allocations: 12.03 kB / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1803, allocations: 0.9375 kB / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1804, allocations: 168.3 kB / 0.6627 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1804, allocations: 4.375 kB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1805, allocations: 4.312 kB / 0.6627 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.1806, allocations: 45.62 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1806, allocations: 3.938 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1806, allocations: 0 / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1806, allocations: 0 / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.1807, allocations: 15.98 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.1808, allocations: 157.7 kB / 0.6629 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.181, allocations: 46.56 kB / 0.663 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.1811, allocations: 16.86 kB / 0.663 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1811, allocations: 3.938 kB / 0.663 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1811, allocations: 38.5 kB / 0.663 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.775e-06/0.1811, allocations: 3.984 kB / 0.663 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006029/0.1817, allocations: 310.3 kB / 0.6633 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1818, allocations: 51.41 kB / 0.6634 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.1818, allocations: 97.86 kB / 0.6635 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1819, allocations: 25.7 kB / 0.6635 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.1819, allocations: 84.14 kB / 0.6636 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1819, allocations: 19.7 kB / 0.6636 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.182, allocations: 17.72 kB / 0.6636 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1821, allocations: 322.8 kB / 0.6639 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.1822, allocations: 8 kB / 0.6639 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.1822, allocations: 15.94 kB / 0.664 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.1823, allocations: 36.84 kB / 0.664 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1823, allocations: 0 / 0.664 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001046/0.1824, allocations: 73.62 kB / 0.6641 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1824, allocations: 7.984 kB / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1824, allocations: 0 / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1824, allocations: 0 / 0.6641 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.1825, allocations: 12 kB / 0.6641 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1825, allocations: 0 / 0.6641 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1825, allocations: 4 kB / 0.6641 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1825, allocations: 4 kB / 0.6641 GB, free: 8.742 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 7.21e-05/0.1826, allocations: 114.4 kB / 0.6642 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1826, allocations: 3.906 kB / 0.6642 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1828, allocations: 89.73 kB / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.1828, allocations: 0 / 0.6643 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1828, allocations: 3.938 kB / 0.6643 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1828, allocations: 0 / 0.6643 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1832, allocations: 315.4 kB / 0.6646 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1832, allocations: 0 / 0.6646 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.1833, allocations: 15.98 kB / 0.6646 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1833, allocations: 0 / 0.6646 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1833, allocations: 4 kB / 0.6646 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1833, allocations: 0 / 0.6646 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1833, allocations: 0 / 0.6646 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.1835, allocations: 184.3 kB / 0.6648 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1835, allocations: 85.05 kB / 0.6649 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1836, allocations: 0 / 0.6649 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.1836, allocations: 8.188 kB / 0.6649 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.1837, allocations: 3.984 kB / 0.6649 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1837, allocations: 8 kB / 0.6649 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.1837, allocations: 79.22 kB / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1837, allocations: 0 / 0.665 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002497/0.184, allocations: 24 kB / 0.665 GB, free: 7.699 MB / 0.4981 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.0001801/0.1842, allocations: 123.3 kB / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1843, allocations: 35.92 kB / 0.6651 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1843, allocations: 0 / 0.6651 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.1843, allocations: 19.98 kB / 0.6652 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.1845, allocations: 4 kB / 0.6652 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.1849, allocations: 204.6 kB / 0.6654 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.1852, allocations: 0.6768 MB / 0.666 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.928e-05/0.1852, allocations: 8 kB / 0.666 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.1852, allocations: 15.38 kB / 0.666 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1852, allocations: 0 / 0.666 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of Templates: time 0.002945/0.1882, allocations: 0.653 MB / 0.6667 GB, free: 5.941 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)