Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001145/0.001145, allocations: 111.7 kB / 16.41 MB, free: 6.496 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.001159/0.001159, allocations: 187 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.62 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002663/0.1726, allocations: 1.279 MB / 0.6616 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1738, allocations: 0.6269 MB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.1738, allocations: 0 / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.1738, allocations: 3.938 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.757e-05/0.1739, allocations: 0 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.1746, allocations: 143.4 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.1747, allocations: 39.86 kB / 0.6624 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.1748, allocations: 3.984 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.1748, allocations: 11.94 kB / 0.6624 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.1749, allocations: 15.92 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1749, allocations: 0 / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.1754, allocations: 347.3 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.1755, allocations: 4 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.1755, allocations: 15.92 kB / 0.6628 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003056/0.1758, allocations: 151.6 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1758, allocations: 0 / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1758, allocations: 0 / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.1758, allocations: 7.938 kB / 0.6629 GB, free: 7.637 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.0004714/0.1763, allocations: 363.5 kB / 0.6633 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1764, allocations: 8.031 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1764, allocations: 8.844 kB / 0.6633 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1766, allocations: 168.3 kB / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1766, allocations: 384 / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1766, allocations: 8.375 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1767, allocations: 53.61 kB / 0.6635 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1768, allocations: 4 kB / 0.6635 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1768, allocations: 4 kB / 0.6635 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1768, allocations: 3.984 kB / 0.6635 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.1769, allocations: 23.92 kB / 0.6635 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.1771, allocations: 157.7 kB / 0.6637 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1772, allocations: 62.55 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.31e-05/0.1773, allocations: 28.8 kB / 0.6638 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1773, allocations: 7.922 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.1773, allocations: 38.56 kB / 0.6638 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1773, allocations: 0 / 0.6638 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00126/0.1786, allocations: 0.5896 MB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.1786, allocations: 63.34 kB / 0.6644 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.1787, allocations: 89.86 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1788, allocations: 33.64 kB / 0.6646 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.1788, allocations: 84.14 kB / 0.6646 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1788, allocations: 35.45 kB / 0.6647 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1789, allocations: 25.72 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.179, allocations: 318.8 kB / 0.665 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.1791, allocations: 24.11 kB / 0.665 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.1791, allocations: 20 kB / 0.665 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.1792, allocations: 64.03 kB / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1792, allocations: 0 / 0.6651 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001548/0.1794, allocations: 93.69 kB / 0.6652 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1794, allocations: 11.94 kB / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1794, allocations: 0 / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1794, allocations: 0 / 0.6652 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1796, allocations: 19.98 kB / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1796, allocations: 4 kB / 0.6652 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.1796, allocations: 0 / 0.6652 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1796, allocations: 12 kB / 0.6652 GB, free: 4.941 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 (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.381e-05/0.1797, allocations: 114.7 kB / 0.6653 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1797, allocations: 7.906 kB / 0.6654 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.18, allocations: 105.5 kB / 0.6655 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.18, allocations: 4 kB / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.18, allocations: 0 / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.18, allocations: 0 / 0.6655 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1804, allocations: 350.5 kB / 0.6658 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1805, allocations: 8 kB / 0.6658 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1806, allocations: 23.98 kB / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1806, allocations: 0 / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1806, allocations: 0 / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1806, allocations: 8 kB / 0.6658 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1806, allocations: 0 / 0.6658 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.1809, allocations: 222.2 kB / 0.666 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.1809, allocations: 85.12 kB / 0.6661 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.181, allocations: 8 kB / 0.6661 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.181, allocations: 4 kB / 0.6661 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.1811, allocations: 8.078 kB / 0.6661 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1811, allocations: 11.88 kB / 0.6662 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.1811, allocations: 79.28 kB / 0.6662 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1811, allocations: 0 / 0.6662 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002736/0.1814, allocations: 35.94 kB / 0.6663 GB, free: 3.773 MB / 0.4981 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.0002237/0.1817, allocations: 139.3 kB / 0.6664 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.1818, allocations: 63.86 kB / 0.6665 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1818, allocations: 0 / 0.6665 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.1819, allocations: 31.98 kB / 0.6665 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1821, allocations: 8.562 kB / 0.6665 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1827, allocations: 306.5 kB / 0.6668 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.183, allocations: 0.6924 MB / 0.6675 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.183, allocations: 11.44 kB / 0.6675 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1831, allocations: 0 / 0.6675 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.002968/0.186, allocations: 1.137 MB / 0.6686 GB, free: 1.34 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)