Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 109.5 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.001583/0.001583, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.847/0.847, allocations: 135.2 MB / 426.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 68.94 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1703, allocations: 80.92 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00246/0.1727, allocations: 1.284 MB / 0.6666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1739, allocations: 0.6114 MB / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.1739, allocations: 0 / 0.6672 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.174, allocations: 3.938 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.174, allocations: 7.922 kB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.1746, allocations: 151.4 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.1746, allocations: 23.92 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.1747, allocations: 7.938 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1747, allocations: 23.91 kB / 0.6674 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.1748, allocations: 7.938 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1748, allocations: 4 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005058/0.1753, allocations: 343.3 kB / 0.6678 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1753, allocations: 11.98 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1754, allocations: 11.94 kB / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1756, allocations: 155.5 kB / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1756, allocations: 0 / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1756, allocations: 0 / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1756, allocations: 4 kB / 0.6679 GB, free: 3.098 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005628/0.1762, allocations: 367.1 kB / 0.6683 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1763, allocations: 9.109 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.1763, allocations: 8.891 kB / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1765, allocations: 164.4 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1765, allocations: 4.375 kB / 0.6685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1765, allocations: 384 / 0.6685 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1767, allocations: 57.61 kB / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1767, allocations: 0 / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1768, allocations: 4 kB / 0.6685 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1768, allocations: 4 kB / 0.6685 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.1768, allocations: 19.92 kB / 0.6685 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.1771, allocations: 169.6 kB / 0.6687 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1772, allocations: 58.5 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.1773, allocations: 28.84 kB / 0.6688 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1773, allocations: 8.172 kB / 0.6688 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1773, allocations: 38.55 kB / 0.6688 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1773, allocations: 0 / 0.6688 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001294/0.1786, allocations: 0.58 MB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1787, allocations: 55.41 kB / 0.6695 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.1788, allocations: 97.8 kB / 0.6695 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1788, allocations: 33.69 kB / 0.6696 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1788, allocations: 80.14 kB / 0.6697 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.1789, allocations: 43.58 kB / 0.6697 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.1789, allocations: 33.7 kB / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1791, allocations: 314.9 kB / 0.67 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.1791, allocations: 23.92 kB / 0.6701 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.1792, allocations: 35.61 kB / 0.6701 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.1793, allocations: 52.8 kB / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1793, allocations: 0 / 0.6701 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000161/0.1794, allocations: 101.6 kB / 0.6702 GB, free: 448 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1795, allocations: 4 kB / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1795, allocations: 0 / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1795, allocations: 0 / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1796, allocations: 20 kB / 0.6703 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1796, allocations: 3.984 kB / 0.6703 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.1796, allocations: 4 kB / 0.6703 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1796, allocations: 8 kB / 0.6703 GB, free: 408 kB / 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 (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.979e-05/0.1797, allocations: 121.7 kB / 0.6704 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.1797, allocations: 3.953 kB / 0.6704 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.1799, allocations: 101.6 kB / 0.6705 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1799, allocations: 0 / 0.6705 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.18, allocations: 3.984 kB / 0.6705 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.18, allocations: 0 / 0.6705 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.1804, allocations: 358.6 kB / 0.6708 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1804, allocations: 4 kB / 0.6708 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1806, allocations: 16 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1806, allocations: 4 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1806, allocations: 0 / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1806, allocations: 3.984 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1806, allocations: 0 / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1809, allocations: 227.3 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.1809, allocations: 81.06 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1809, allocations: 8.062 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.181, allocations: 8.031 kB / 0.6712 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.181, allocations: 7.984 kB / 0.6712 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1811, allocations: 7.938 kB / 0.6712 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.334e-05/0.1811, allocations: 79.28 kB / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1811, allocations: 0 / 0.6713 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002818/0.1814, allocations: 35.86 kB / 0.6713 GB, free: 15.24 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002471/0.1816, allocations: 131.2 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1818, allocations: 71.84 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1818, allocations: 0 / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.1818, allocations: 31.92 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.1821, allocations: 6.062 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.1827, allocations: 317.9 kB / 0.6718 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.183, allocations: 0.6885 MB / 0.6725 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1831, allocations: 15.38 kB / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 5.72e-07/0.1831, allocations: 0 / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003251/0.1863, allocations: 1.127 MB / 0.6736 GB, free: 12.8 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)