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.008125/0.008125, allocations: 101.4 kB / 15.73 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.001779/0.001779, allocations: 196.1 kB / 16.68 MB, free: 5.926 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.464/1.464, allocations: 222.9 MB / 240.3 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8169/0.8169, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 74.08 kB / 0.5856 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1653, allocations: 80.92 MB / 0.6646 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002931/0.1683, allocations: 1.466 MB / 0.6661 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1696, allocations: 0.6305 MB / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1697, allocations: 0 / 0.6667 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.1697, allocations: 11.86 kB / 0.6667 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.335e-05/0.1698, allocations: 7.938 kB / 0.6667 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.1706, allocations: 167.3 kB / 0.6669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1708, allocations: 47.66 kB / 0.6669 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.1708, allocations: 11.91 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.1709, allocations: 27.91 kB / 0.667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.171, allocations: 19.86 kB / 0.667 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.171, allocations: 4 kB / 0.667 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.1716, allocations: 355.3 kB / 0.6673 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.1716, allocations: 7.984 kB / 0.6673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.1717, allocations: 27.84 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1721, allocations: 179.5 kB / 0.6675 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1721, allocations: 0 / 0.6675 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1721, allocations: 4 kB / 0.6675 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.1721, allocations: 4 kB / 0.6675 GB, free: 2.922 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.0006773/0.1728, allocations: 399.3 kB / 0.6679 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1728, allocations: 9.109 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.1729, allocations: 4.938 kB / 0.6679 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.173, allocations: 168.2 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.1731, allocations: 4.375 kB / 0.6681 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1731, allocations: 8.375 kB / 0.6681 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.1734, allocations: 88.58 kB / 0.6682 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1734, allocations: 0 / 0.6682 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1734, allocations: 4 kB / 0.6682 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1734, allocations: 0 / 0.6682 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.1737, allocations: 51.95 kB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1743, allocations: 324.6 kB / 0.6685 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1746, allocations: 78.53 kB / 0.6686 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1747, allocations: 28.78 kB / 0.6686 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1747, allocations: 4 kB / 0.6686 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1748, allocations: 38.5 kB / 0.6687 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1748, allocations: 4 kB / 0.6687 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001687/0.1765, allocations: 0.642 MB / 0.6693 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1765, allocations: 55.41 kB / 0.6694 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.1766, allocations: 105.8 kB / 0.6695 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1766, allocations: 29.64 kB / 0.6695 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.1767, allocations: 92.05 kB / 0.6696 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.1767, allocations: 43.38 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.1768, allocations: 29.7 kB / 0.6697 GB, free: 464 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.177, allocations: 318.8 kB / 0.67 GB, free: 136 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1771, allocations: 36.09 kB / 0.67 GB, free: 100 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1773, allocations: 31.98 kB / 0.67 GB, free: 68 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1775, allocations: 72.91 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1776, allocations: 0 / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003268/0.1779, allocations: 120.9 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1779, allocations: 7.984 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1779, allocations: 4 kB / 0.6702 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.178, allocations: 7.938 kB / 0.6702 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1781, allocations: 23.98 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1781, allocations: 320 / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.1782, allocations: 4 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1782, allocations: 4 kB / 0.6703 GB, free: 15.82 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 0.0001017/0.1783, allocations: 121.8 kB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1784, allocations: 4 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.1788, allocations: 133.5 kB / 0.6705 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1788, allocations: 7.938 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1788, allocations: 0 / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1788, allocations: 3.984 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.1794, allocations: 378.7 kB / 0.6709 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1794, allocations: 3.938 kB / 0.6709 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1795, allocations: 23.98 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1796, allocations: 4 kB / 0.6709 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1796, allocations: 7.984 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.1796, allocations: 4.094 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1796, allocations: 7.875 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.1801, allocations: 243.3 kB / 0.6712 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.1802, allocations: 84.95 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1802, allocations: 12.09 kB / 0.6713 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1803, allocations: 7.984 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1804, allocations: 4 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1804, allocations: 4 kB / 0.6713 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.1804, allocations: 83.27 kB / 0.6713 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1804, allocations: 0 / 0.6713 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003081/0.1808, allocations: 40 kB / 0.6714 GB, free: 14.55 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.0002483/0.181, allocations: 136.4 kB / 0.6715 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.1814, allocations: 91.83 kB / 0.6716 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1814, allocations: 0 / 0.6716 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1815, allocations: 47.91 kB / 0.6716 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.1819, allocations: 11.94 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.1827, allocations: 313.9 kB / 0.672 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1831, allocations: 0.6923 MB / 0.6726 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.442e-05/0.1831, allocations: 12.67 kB / 0.6726 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1832, allocations: 19.42 kB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1832, allocations: 0 / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.004197/0.1874, allocations: 1.146 MB / 0.6738 GB, free: 12.08 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)