Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01108/0.01108, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8546/0.8546, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 223.2 MB / 403.2 MB, free: 6.805 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.001053/0.001053, allocations: 88.42 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005744/0.0005747, allocations: 8 kB / 0.5641 GB, free: 2.156 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4968, allocations: 81.57 MB / 0.6438 GB, free: 39.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.6699, allocations: 111.9 MB / 0.753 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.6702, allocations: 79.94 kB / 0.7531 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.683, allocations: 4.058 MB / 0.7571 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.302e-06/0.6831, allocations: 3.984 kB / 0.7571 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.6831, allocations: 0 / 0.7571 GB, free: 3.953 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004723/0.6836, allocations: 343.3 kB / 0.7574 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6837, allocations: 16.03 kB / 0.7574 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.6837, allocations: 3.953 kB / 0.7574 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.6839, allocations: 167 kB / 0.7576 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6839, allocations: 7.984 kB / 0.7576 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.684, allocations: 0 / 0.7576 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6841, allocations: 41.69 kB / 0.7576 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6841, allocations: 0 / 0.7576 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6842, allocations: 0 / 0.7576 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6842, allocations: 0 / 0.7576 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.252e-05/0.6842, allocations: 11.98 kB / 0.7576 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.6845, allocations: 165.7 kB / 0.7578 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.6847, allocations: 42.5 kB / 0.7578 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.6848, allocations: 0 / 0.7578 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.6848, allocations: 38.56 kB / 0.7579 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.6848, allocations: 0 / 0.7579 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0008126/0.6856, allocations: 302.4 kB / 0.7582 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6857, allocations: 55.39 kB / 0.7582 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.6858, allocations: 96.98 kB / 0.7583 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.6858, allocations: 25.7 kB / 0.7583 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.6859, allocations: 80.14 kB / 0.7584 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.6859, allocations: 27.64 kB / 0.7584 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.6859, allocations: 3.938 kB / 0.7584 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6861, allocations: 318.8 kB / 0.7587 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.6861, allocations: 15.94 kB / 0.7588 GB, free: 1.977 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.6862, allocations: 11.98 kB / 0.7588 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.6862, allocations: 12 kB / 0.7588 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6862, allocations: 0 / 0.7588 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000131/0.6864, allocations: 69.59 kB / 0.7588 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6864, allocations: 4 kB / 0.7588 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6864, allocations: 0 / 0.7588 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6864, allocations: 0 / 0.7588 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.6865, allocations: 12 kB / 0.7589 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6865, allocations: 3.938 kB / 0.7589 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.6865, allocations: 4 kB / 0.7589 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.6865, allocations: 4 kB / 0.7589 GB, free: 1.852 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.932e-05/0.6866, allocations: 117.7 kB / 0.759 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.6867, allocations: 7.984 kB / 0.759 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.6869, allocations: 65.89 kB / 0.759 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6869, allocations: 0.5156 kB / 0.7591 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6869, allocations: 0 / 0.7591 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6869, allocations: 0 / 0.7591 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.6873, allocations: 323.4 kB / 0.7594 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.006e-06/0.6874, allocations: 7.984 kB / 0.7594 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.6874, allocations: 8 kB / 0.7594 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.6874, allocations: 0 / 0.7594 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.6875, allocations: 4 kB / 0.7594 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6875, allocations: 3.984 kB / 0.7594 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.6875, allocations: 3.984 kB / 0.7594 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.6877, allocations: 202.1 kB / 0.7596 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.6878, allocations: 81.14 kB / 0.7597 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.6879, allocations: 4 kB / 0.7597 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.6879, allocations: 7.984 kB / 0.7597 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.688, allocations: 3.953 kB / 0.7597 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.688, allocations: 4 kB / 0.7597 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.688, allocations: 75.28 kB / 0.7597 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.688, allocations: 64 / 0.7597 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002913/0.6883, allocations: 43.92 kB / 0.7598 GB, free: 0.7852 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002673/0.6886, allocations: 119.2 kB / 0.7599 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.6887, allocations: 35.92 kB / 0.7599 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6888, allocations: 0 / 0.7599 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.6888, allocations: 19.94 kB / 0.76 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.689, allocations: 7.938 kB / 0.76 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.6895, allocations: 217.7 kB / 0.7602 GB, free: 364 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.6899, allocations: 0.6848 MB / 0.7608 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.6899, allocations: 4 kB / 0.7608 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.69, allocations: 15.42 kB / 0.7609 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.69, allocations: 0 / 0.7609 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of Templates: time 0.003212/0.6932, allocations: 0.5777 MB / 0.7614 GB, free: 15.06 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)