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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008946, allocations: 95.14 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.305e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4852, allocations: 81.58 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.6376, allocations: 111.3 MB / 0.7369 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.6379, allocations: 75.95 kB / 0.7369 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01269/0.6506, allocations: 4.548 MB / 0.7414 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6506, allocations: 0 / 0.7414 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.6506, allocations: 0 / 0.7414 GB, free: 10.86 MB / 0.5261 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.0003298/0.651, allocations: 346.5 kB / 0.7417 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.651, allocations: 12.03 kB / 0.7417 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.6511, allocations: 7.906 kB / 0.7417 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.6512, allocations: 170.9 kB / 0.7419 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.6512, allocations: 0 / 0.7419 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.6513, allocations: 7.984 kB / 0.7419 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.251e-05/0.6514, allocations: 16 kB / 0.7419 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.6515, allocations: 45.67 kB / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6515, allocations: 0 / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.6515, allocations: 0 / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6515, allocations: 4 kB / 0.7419 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.6517, allocations: 142.2 kB / 0.7421 GB, free: 10 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.6518, allocations: 58.5 kB / 0.7421 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.6518, allocations: 20.86 kB / 0.7422 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.6519, allocations: 4 kB / 0.7422 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6519, allocations: 38.56 kB / 0.7422 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.6519, allocations: 4 kB / 0.7422 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0008733/0.6528, allocations: 0.514 MB / 0.7427 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.6528, allocations: 59.39 kB / 0.7428 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.6529, allocations: 89 kB / 0.7428 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.6529, allocations: 29.7 kB / 0.7429 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.653, allocations: 80.27 kB / 0.743 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.653, allocations: 43.39 kB / 0.743 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.653, allocations: 0 / 0.743 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6531, allocations: 318.8 kB / 0.7433 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.6532, allocations: 16 kB / 0.7433 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.224e-05/0.6532, allocations: 20 kB / 0.7433 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.6533, allocations: 21.11 kB / 0.7434 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6533, allocations: 0 / 0.7434 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001383/0.6534, allocations: 84.53 kB / 0.7434 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6534, allocations: 13.66 kB / 0.7434 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6534, allocations: 4 kB / 0.7435 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6535, allocations: 3.984 kB / 0.7435 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.6536, allocations: 19.94 kB / 0.7435 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.6536, allocations: 4 kB / 0.7435 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.6536, allocations: 3.938 kB / 0.7435 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.6536, allocations: 8 kB / 0.7435 GB, free: 8.41 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.6537, allocations: 108.9 kB / 0.7436 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.6537, allocations: 7.906 kB / 0.7436 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.6539, allocations: 94.55 kB / 0.7437 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6539, allocations: 4 kB / 0.7437 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6539, allocations: 0 / 0.7437 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6539, allocations: 0 / 0.7437 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.6543, allocations: 319 kB / 0.744 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6543, allocations: 0 / 0.744 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.6545, allocations: 27.92 kB / 0.744 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.6545, allocations: 3.984 kB / 0.744 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.6545, allocations: 0 / 0.744 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6545, allocations: 0 / 0.744 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.6545, allocations: 4 kB / 0.744 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.6548, allocations: 207.3 kB / 0.7442 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.6548, allocations: 85.05 kB / 0.7443 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6548, allocations: 0 / 0.7443 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.6549, allocations: 0 / 0.7443 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.655, allocations: 11.98 kB / 0.7443 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.655, allocations: 4 kB / 0.7443 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.655, allocations: 79.34 kB / 0.7444 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.655, allocations: 0 / 0.7444 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002759/0.6553, allocations: 39.94 kB / 0.7444 GB, free: 7.344 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002235/0.6555, allocations: 144.7 kB / 0.7446 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.6557, allocations: 55.98 kB / 0.7446 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6557, allocations: 0 / 0.7446 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.6557, allocations: 27.94 kB / 0.7447 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.6559, allocations: 13.55 kB / 0.7447 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.6563, allocations: 216.2 kB / 0.7449 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.6566, allocations: 0.6846 MB / 0.7455 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.035e-05/0.6567, allocations: 15.98 kB / 0.7456 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.6567, allocations: 11.44 kB / 0.7456 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6567, allocations: 3.938 kB / 0.7456 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of Templates: time 0.003091/0.6598, allocations: 0.8541 MB / 0.7464 GB, free: 5.27 MB / 0.5261 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)