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.00127/0.00127, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.00129/0.001291, allocations: 192.2 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8158/0.8158, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.08 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.93 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002594/0.1725, allocations: 1.276 MB / 0.6666 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1736, allocations: 0.6152 MB / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.1737, allocations: 0 / 0.6672 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.1737, allocations: 3.938 kB / 0.6672 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.1738, allocations: 7.938 kB / 0.6672 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.1745, allocations: 155.4 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.1746, allocations: 23.92 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.1747, allocations: 4 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.1747, allocations: 11.94 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.1748, allocations: 11.92 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1748, allocations: 7.984 kB / 0.6674 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005406/0.1753, allocations: 343.3 kB / 0.6677 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1754, allocations: 8 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.1754, allocations: 19.91 kB / 0.6677 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1757, allocations: 155.6 kB / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1757, allocations: 0 / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1757, allocations: 0 / 0.6679 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1757, allocations: 0 / 0.6679 GB, free: 3.176 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.0004482/0.1762, allocations: 363.4 kB / 0.6682 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1762, allocations: 13.11 kB / 0.6682 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.1763, allocations: 0.9375 kB / 0.6682 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1764, allocations: 176.2 kB / 0.6684 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1764, allocations: 4.375 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1765, allocations: 4.375 kB / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1766, allocations: 53.61 kB / 0.6685 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1766, allocations: 4 kB / 0.6685 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.1766, allocations: 3.984 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1767, allocations: 0 / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.1767, allocations: 19.94 kB / 0.6685 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.1769, allocations: 165.7 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.177, allocations: 62.5 kB / 0.6687 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.1771, allocations: 28.84 kB / 0.6687 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1771, allocations: 11.88 kB / 0.6687 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1772, allocations: 30.56 kB / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.1772, allocations: 0 / 0.6688 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001189/0.1784, allocations: 0.5917 MB / 0.6693 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1784, allocations: 51.41 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.1785, allocations: 97.86 kB / 0.6695 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1785, allocations: 25.7 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.1786, allocations: 84.08 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.1786, allocations: 43.48 kB / 0.6696 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.1787, allocations: 33.7 kB / 0.6697 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1788, allocations: 314.8 kB / 0.67 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.1788, allocations: 19.98 kB / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.909e-05/0.1789, allocations: 23.98 kB / 0.67 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.179, allocations: 60.17 kB / 0.6701 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.179, allocations: 0 / 0.6701 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001419/0.1791, allocations: 97.62 kB / 0.6702 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1791, allocations: 7.984 kB / 0.6702 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1791, allocations: 4 kB / 0.6702 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1792, allocations: 0 / 0.6702 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1793, allocations: 20 kB / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1793, allocations: 0 / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.1793, allocations: 4 kB / 0.6702 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.1793, allocations: 4 kB / 0.6702 GB, free: 496 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.758e-05/0.1794, allocations: 125.7 kB / 0.6703 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1795, allocations: 3.906 kB / 0.6703 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1797, allocations: 113.6 kB / 0.6704 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1797, allocations: 0 / 0.6704 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1797, allocations: 0 / 0.6704 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1797, allocations: 3.984 kB / 0.6704 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.1801, allocations: 354.6 kB / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1801, allocations: 0 / 0.6708 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1802, allocations: 19.98 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1802, allocations: 4 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1803, allocations: 96 / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1803, allocations: 3.938 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1803, allocations: 4 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.1805, allocations: 231.2 kB / 0.671 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.1806, allocations: 77.11 kB / 0.6711 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1806, allocations: 4 kB / 0.6711 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.1807, allocations: 4.031 kB / 0.6711 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1807, allocations: 7.984 kB / 0.6711 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1807, allocations: 15.94 kB / 0.6711 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.1808, allocations: 79.34 kB / 0.6712 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1808, allocations: 0 / 0.6712 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002776/0.1811, allocations: 39.92 kB / 0.6712 GB, free: 15.31 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.0002301/0.1813, allocations: 124.6 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1815, allocations: 71.84 kB / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1815, allocations: 0 / 0.6714 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.1815, allocations: 31.94 kB / 0.6715 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1818, allocations: 7.984 kB / 0.6715 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.1823, allocations: 318.4 kB / 0.6718 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1826, allocations: 0.6807 MB / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.1827, allocations: 15.44 kB / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1827, allocations: 0 / 0.6725 GB, free: 14 MB / 0.5137 GB Notification: Performance of Templates: time 0.002942/0.1856, allocations: 1.131 MB / 0.6736 GB, free: 12.87 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)