Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001891/0.001891, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7854/0.7854, allocations: 132.2 MB / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.28 kB / 0.5011 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 80.21 MB / 0.5794 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002488/0.1459, allocations: 1.531 MB / 0.5809 GB, free: 7.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.147, allocations: 0.6462 MB / 0.5816 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1471, allocations: 4 kB / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.1471, allocations: 0 / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.1472, allocations: 15.84 kB / 0.5816 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.1476, allocations: 134 kB / 0.5817 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.1477, allocations: 59.53 kB / 0.5818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.1478, allocations: 7.984 kB / 0.5818 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.1478, allocations: 15.94 kB / 0.5818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.959e-05/0.1479, allocations: 27.89 kB / 0.5818 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1479, allocations: 4 kB / 0.5818 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.1484, allocations: 343.3 kB / 0.5821 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.1484, allocations: 19.91 kB / 0.5822 GB, free: 6.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1485, allocations: 23.88 kB / 0.5822 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1488, allocations: 167.9 kB / 0.5823 GB, free: 6.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1488, allocations: 3.938 kB / 0.5823 GB, free: 6.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1488, allocations: 8 kB / 0.5824 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1488, allocations: 0 / 0.5824 GB, free: 6.223 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005958/0.1494, allocations: 403.3 kB / 0.5827 GB, free: 5.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1495, allocations: 8.031 kB / 0.5827 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1495, allocations: 8.844 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.1496, allocations: 160.4 kB / 0.5829 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.1497, allocations: 8.375 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.1497, allocations: 4.375 kB / 0.5829 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.1499, allocations: 81.78 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.15, allocations: 3.906 kB / 0.583 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.15, allocations: 8 kB / 0.583 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.15, allocations: 0 / 0.583 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.1502, allocations: 51.89 kB / 0.5831 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.1508, allocations: 328.6 kB / 0.5834 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.1511, allocations: 82.47 kB / 0.5834 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1512, allocations: 32.83 kB / 0.5835 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1513, allocations: 0 / 0.5835 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1513, allocations: 38.56 kB / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.1513, allocations: 0 / 0.5835 GB, free: 4.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001634/0.1529, allocations: 0.6535 MB / 0.5842 GB, free: 4.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.153, allocations: 59.34 kB / 0.5842 GB, free: 4.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.1531, allocations: 97.86 kB / 0.5843 GB, free: 3.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1531, allocations: 33.69 kB / 0.5843 GB, free: 3.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.1531, allocations: 84.14 kB / 0.5844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.1532, allocations: 39.45 kB / 0.5845 GB, free: 3.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1532, allocations: 25.72 kB / 0.5845 GB, free: 3.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.1533, allocations: 322.8 kB / 0.5848 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1535, allocations: 31.92 kB / 0.5848 GB, free: 3.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1536, allocations: 31.97 kB / 0.5848 GB, free: 3.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.1539, allocations: 75.7 kB / 0.5849 GB, free: 3.293 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1539, allocations: 0 / 0.5849 GB, free: 3.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003147/0.1542, allocations: 121.7 kB / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1542, allocations: 5.875 kB / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1542, allocations: 0 / 0.585 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1543, allocations: 7.938 kB / 0.5851 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1544, allocations: 31.86 kB / 0.5851 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1544, allocations: 3.984 kB / 0.5851 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.1545, allocations: 8 kB / 0.5851 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1545, allocations: 4 kB / 0.5851 GB, free: 3.109 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.913e-05/0.1546, allocations: 114.5 kB / 0.5852 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1546, allocations: 7.906 kB / 0.5852 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.155, allocations: 129.6 kB / 0.5853 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.155, allocations: 3.938 kB / 0.5853 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.155, allocations: 0 / 0.5853 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1551, allocations: 0 / 0.5853 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.1556, allocations: 386.5 kB / 0.5857 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1556, allocations: 0 / 0.5857 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1558, allocations: 35.86 kB / 0.5857 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1558, allocations: 0 / 0.5857 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1558, allocations: 0 / 0.5857 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.1558, allocations: 7.984 kB / 0.5858 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1558, allocations: 0 / 0.5858 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.1563, allocations: 251.3 kB / 0.586 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1564, allocations: 81.05 kB / 0.5861 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1564, allocations: 8.016 kB / 0.5861 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1565, allocations: 4.094 kB / 0.5861 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.1566, allocations: 15.92 kB / 0.5861 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1566, allocations: 4 kB / 0.5861 GB, free: 1.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.182e-05/0.1566, allocations: 79.28 kB / 0.5862 GB, free: 1.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1566, allocations: 0 / 0.5862 GB, free: 1.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1569, allocations: 47.98 kB / 0.5862 GB, free: 1.852 MB / 494.1 MB 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.0002044/0.1571, allocations: 135.1 kB / 0.5863 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003339/0.1575, allocations: 83.94 kB / 0.5864 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1575, allocations: 3.938 kB / 0.5864 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1576, allocations: 43.92 kB / 0.5865 GB, free: 1.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1579, allocations: 19.64 kB / 0.5865 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.1586, allocations: 343.4 kB / 0.5868 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.1589, allocations: 0.6965 MB / 0.5875 GB, free: 484 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.159, allocations: 8.672 kB / 0.5875 GB, free: 476 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.159, allocations: 15.44 kB / 0.5875 GB, free: 460 kB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.159, allocations: 0 / 0.5875 GB, free: 460 kB / 494.1 MB Notification: Performance of Templates: time 0.003323/0.1623, allocations: 1.099 MB / 0.5886 GB, free: 15.38 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)