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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001328, allocations: 193.4 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7787/0.7787, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.25 kB / 0.5011 GB, free: 9.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 80.2 MB / 0.5794 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002786/0.1452, allocations: 1.333 MB / 0.5807 GB, free: 7.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1464, allocations: 0.644 MB / 0.5814 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.991e-05/0.1464, allocations: 0 / 0.5814 GB, free: 7.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.1465, allocations: 3.938 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.1465, allocations: 0 / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1471, allocations: 134.2 kB / 0.5815 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.1472, allocations: 23.92 kB / 0.5815 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1472, allocations: 7.984 kB / 0.5815 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.1473, allocations: 19.92 kB / 0.5815 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.1473, allocations: 11.88 kB / 0.5816 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1473, allocations: 0 / 0.5816 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.1478, allocations: 343.4 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1478, allocations: 7.984 kB / 0.5819 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1479, allocations: 15.92 kB / 0.5819 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1481, allocations: 151.9 kB / 0.582 GB, free: 6.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1481, allocations: 4 kB / 0.5821 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1482, allocations: 0 / 0.5821 GB, free: 6.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1482, allocations: 0 / 0.5821 GB, free: 6.504 MB / 494.1 MB 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.0004907/0.1487, allocations: 367.4 kB / 0.5824 GB, free: 6.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1487, allocations: 8.031 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.1488, allocations: 4.938 kB / 0.5824 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1489, allocations: 168.3 kB / 0.5826 GB, free: 5.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.149, allocations: 4.375 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.149, allocations: 384 / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1491, allocations: 65.78 kB / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1492, allocations: 0 / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1492, allocations: 0 / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1492, allocations: 4 kB / 0.5826 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.1493, allocations: 15.98 kB / 0.5827 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.1495, allocations: 173.5 kB / 0.5828 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1497, allocations: 62.5 kB / 0.5829 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1497, allocations: 32.84 kB / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1498, allocations: 0 / 0.5829 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1498, allocations: 42.44 kB / 0.583 GB, free: 5.414 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1498, allocations: 0 / 0.583 GB, free: 5.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001154/0.151, allocations: 0.5841 MB / 0.5835 GB, free: 4.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.151, allocations: 51.41 kB / 0.5836 GB, free: 4.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.1511, allocations: 97.84 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1511, allocations: 29.7 kB / 0.5837 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1512, allocations: 80.14 kB / 0.5838 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.1512, allocations: 43.33 kB / 0.5838 GB, free: 4.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1512, allocations: 25.72 kB / 0.5838 GB, free: 4.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1514, allocations: 327 kB / 0.5842 GB, free: 4.051 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.1514, allocations: 19.94 kB / 0.5842 GB, free: 4.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.1514, allocations: 23.98 kB / 0.5842 GB, free: 4.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.933e-05/0.1515, allocations: 48.86 kB / 0.5842 GB, free: 3.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1515, allocations: 3.938 kB / 0.5842 GB, free: 3.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001426/0.1517, allocations: 104.6 kB / 0.5843 GB, free: 3.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1517, allocations: 8 kB / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1517, allocations: 0 / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1518, allocations: 0 / 0.5844 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1519, allocations: 27.92 kB / 0.5844 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.1519, allocations: 4 kB / 0.5844 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.806e-05/0.1519, allocations: 4 kB / 0.5844 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1519, allocations: 4 kB / 0.5844 GB, free: 3.801 MB / 494.1 MB 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 7.439e-05/0.152, allocations: 114.4 kB / 0.5845 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.152, allocations: 4 kB / 0.5845 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1523, allocations: 109.5 kB / 0.5846 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1523, allocations: 4 kB / 0.5846 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1523, allocations: 0 / 0.5846 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1523, allocations: 4 kB / 0.5846 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1527, allocations: 358.4 kB / 0.585 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1527, allocations: 0 / 0.585 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1529, allocations: 19.94 kB / 0.585 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1529, allocations: 4.078 kB / 0.585 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1529, allocations: 7.938 kB / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1529, allocations: 0 / 0.585 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1529, allocations: 4 kB / 0.585 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1531, allocations: 219 kB / 0.5852 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.1532, allocations: 85.05 kB / 0.5853 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1532, allocations: 4 kB / 0.5853 GB, free: 2.781 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.1533, allocations: 7.984 kB / 0.5853 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.1533, allocations: 0 / 0.5853 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.1533, allocations: 8 kB / 0.5853 GB, free: 2.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.375e-05/0.1534, allocations: 87.2 kB / 0.5854 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1534, allocations: 0 / 0.5854 GB, free: 2.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1537, allocations: 36.16 kB / 0.5854 GB, free: 2.645 MB / 494.1 MB 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.000188/0.1538, allocations: 131.1 kB / 0.5855 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.154, allocations: 63.91 kB / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.154, allocations: 0 / 0.5856 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.798e-05/0.1541, allocations: 35.92 kB / 0.5856 GB, free: 2.406 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1543, allocations: 8.75 kB / 0.5856 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.1548, allocations: 306.4 kB / 0.5859 GB, free: 2.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1551, allocations: 0.6848 MB / 0.5866 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.1552, allocations: 7.984 kB / 0.5866 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.1552, allocations: 19.44 kB / 0.5866 GB, free: 1.332 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1552, allocations: 0 / 0.5866 GB, free: 1.332 MB / 494.1 MB Notification: Performance of Templates: time 0.0031/0.1583, allocations: 0.9092 MB / 0.5875 GB, free: 464 kB / 494.1 MB 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)