Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7164/0.7164, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.81 kB / 0.5018 GB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 80.2 MB / 0.5801 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00249/0.1438, allocations: 1.273 MB / 0.5813 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1449, allocations: 0.6166 MB / 0.5819 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.1449, allocations: 7.938 kB / 0.5819 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.145, allocations: 3.938 kB / 0.5819 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.065e-05/0.145, allocations: 0 / 0.5819 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.1456, allocations: 147.4 kB / 0.5821 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.1456, allocations: 19.91 kB / 0.5821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1457, allocations: 3.938 kB / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.1457, allocations: 12 kB / 0.5821 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1458, allocations: 7.922 kB / 0.5821 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1458, allocations: 4 kB / 0.5821 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004882/0.1463, allocations: 343.4 kB / 0.5825 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.1463, allocations: 8 kB / 0.5825 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.1463, allocations: 11.88 kB / 0.5825 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1466, allocations: 148 kB / 0.5826 GB, free: 6.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1466, allocations: 0 / 0.5826 GB, free: 6.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1466, allocations: 0 / 0.5826 GB, free: 6.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1466, allocations: 0 / 0.5826 GB, free: 6.113 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004108/0.147, allocations: 363.4 kB / 0.583 GB, free: 5.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1471, allocations: 8.031 kB / 0.583 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1471, allocations: 8.938 kB / 0.583 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.1472, allocations: 168.3 kB / 0.5831 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1472, allocations: 384 / 0.5831 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1473, allocations: 8.375 kB / 0.5832 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.1474, allocations: 45.81 kB / 0.5832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1474, allocations: 0 / 0.5832 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1474, allocations: 3.938 kB / 0.5832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1474, allocations: 0 / 0.5832 GB, free: 5.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.379e-05/0.1474, allocations: 4 kB / 0.5832 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.1476, allocations: 165.6 kB / 0.5834 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1478, allocations: 46.55 kB / 0.5834 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.1478, allocations: 20.94 kB / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1479, allocations: 0 / 0.5834 GB, free: 5.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1479, allocations: 34.5 kB / 0.5835 GB, free: 5.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1479, allocations: 0 / 0.5835 GB, free: 5.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006058/0.1485, allocations: 310.6 kB / 0.5838 GB, free: 4.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1486, allocations: 55.34 kB / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.748e-05/0.1486, allocations: 101.8 kB / 0.5839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1486, allocations: 29.7 kB / 0.5839 GB, free: 4.527 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.1487, allocations: 80.14 kB / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1487, allocations: 15.72 kB / 0.584 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.1488, allocations: 25.64 kB / 0.5841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.1489, allocations: 322.8 kB / 0.5844 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.1489, allocations: 11.98 kB / 0.5844 GB, free: 4.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.1489, allocations: 12.06 kB / 0.5844 GB, free: 4.051 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.149, allocations: 33.02 kB / 0.5844 GB, free: 4.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.149, allocations: 0 / 0.5844 GB, free: 4.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.569e-05/0.1491, allocations: 69.59 kB / 0.5845 GB, free: 3.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1491, allocations: 10.34 kB / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1491, allocations: 0 / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1492, allocations: 0 / 0.5845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.1492, allocations: 19.92 kB / 0.5845 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1492, allocations: 8 kB / 0.5845 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1493, allocations: 0 / 0.5845 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1493, allocations: 0 / 0.5845 GB, free: 3.906 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 (7): * Single equations (assignments): 7 * 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.437e-05/0.1493, allocations: 114.5 kB / 0.5846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.1494, allocations: 3.938 kB / 0.5846 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1495, allocations: 69.64 kB / 0.5847 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.1495, allocations: 4 kB / 0.5847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1495, allocations: 0 / 0.5847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1495, allocations: 0 / 0.5847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.1498, allocations: 319.3 kB / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1498, allocations: 0 / 0.585 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.1499, allocations: 15.94 kB / 0.585 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1499, allocations: 0 / 0.585 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1499, allocations: 3.984 kB / 0.585 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1499, allocations: 3.938 kB / 0.585 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1499, allocations: 4 kB / 0.585 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1501, allocations: 176.6 kB / 0.5852 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.1502, allocations: 89.12 kB / 0.5853 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1502, allocations: 4 kB / 0.5853 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1503, allocations: 0 / 0.5853 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.1503, allocations: 7.938 kB / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1503, allocations: 0 / 0.5853 GB, free: 2.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.59e-05/0.1503, allocations: 87.27 kB / 0.5854 GB, free: 2.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1503, allocations: 4 kB / 0.5854 GB, free: 2.906 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1506, allocations: 31.88 kB / 0.5854 GB, free: 2.875 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001646/0.1508, allocations: 119.2 kB / 0.5855 GB, free: 2.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.837e-05/0.1509, allocations: 31.98 kB / 0.5856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1509, allocations: 0 / 0.5856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.1509, allocations: 23.92 kB / 0.5856 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1512, allocations: 8.938 kB / 0.5856 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1515, allocations: 192.4 kB / 0.5858 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1518, allocations: 0.6846 MB / 0.5864 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.127e-05/0.1518, allocations: 7.984 kB / 0.5864 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.1518, allocations: 11.44 kB / 0.5865 GB, free: 1.738 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1518, allocations: 0 / 0.5865 GB, free: 1.738 MB / 494.1 MB Notification: Performance of Templates: time 0.002575/0.1544, allocations: 0.6507 MB / 0.5871 GB, free: 1.125 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)