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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001823, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 221.3 MB / 396.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008612/0.0008613, allocations: 102.1 kB / 478.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.266e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1805, allocations: 81.57 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6541/0.8346, allocations: 112.6 MB / 0.7447 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.8349, allocations: 84.72 kB / 0.7448 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.8467, allocations: 4.316 MB / 0.749 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8468, allocations: 0 / 0.749 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.8468, allocations: 3.812 kB / 0.749 GB, free: 27.62 MB / 0.5105 GB 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.0004183/0.8472, allocations: 373.6 kB / 0.7494 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8473, allocations: 14.34 kB / 0.7494 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.8473, allocations: 3.812 kB / 0.7494 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.8475, allocations: 170.9 kB / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.8475, allocations: 7.375 kB / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.8475, allocations: 3.812 kB / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.8477, allocations: 71.78 kB / 0.7496 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8477, allocations: 3.938 kB / 0.7496 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.8477, allocations: 4 kB / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.8477, allocations: 4 kB / 0.7497 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.8478, allocations: 37.94 kB / 0.7497 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.8484, allocations: 322.8 kB / 0.75 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.8485, allocations: 70.08 kB / 0.7501 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.8485, allocations: 18.89 kB / 0.7501 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.8486, allocations: 7.312 kB / 0.7501 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.8486, allocations: 34.5 kB / 0.7501 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8486, allocations: 0 / 0.7501 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0009845/0.8496, allocations: 0.5667 MB / 0.7507 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.8497, allocations: 51.41 kB / 0.7507 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.8497, allocations: 94.42 kB / 0.7508 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.8498, allocations: 29.27 kB / 0.7508 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.8498, allocations: 90.2 kB / 0.7509 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.8498, allocations: 40.45 kB / 0.751 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.8499, allocations: 0 / 0.751 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.85, allocations: 321.2 kB / 0.7513 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/0.85, allocations: 28.31 kB / 0.7513 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.8501, allocations: 23.97 kB / 0.7513 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.8501, allocations: 25.36 kB / 0.7513 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.8501, allocations: 0 / 0.7513 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001411/0.8503, allocations: 95.78 kB / 0.7514 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8503, allocations: 11.64 kB / 0.7514 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.8503, allocations: 96 / 0.7514 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.8503, allocations: 3.938 kB / 0.7515 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.8505, allocations: 26.59 kB / 0.7515 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.8505, allocations: 11.12 kB / 0.7515 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.8506, allocations: 7.062 kB / 0.7515 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8506, allocations: 4.094 kB / 0.7515 GB, free: 25.52 MB / 0.5105 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.819e-05/0.8507, allocations: 115.9 kB / 0.7516 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.8507, allocations: 3.906 kB / 0.7516 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.8509, allocations: 120.2 kB / 0.7517 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8509, allocations: 0 / 0.7517 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8509, allocations: 4 kB / 0.7517 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8509, allocations: 2.438 kB / 0.7517 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.8513, allocations: 356.5 kB / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8513, allocations: 7.891 kB / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.8515, allocations: 27.64 kB / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8515, allocations: 0 / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.8515, allocations: 9.703 kB / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8515, allocations: 0 / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8515, allocations: 0 / 0.7521 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.8517, allocations: 221.4 kB / 0.7523 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.8518, allocations: 92.81 kB / 0.7524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.8518, allocations: 3.312 kB / 0.7524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8519, allocations: 10.5 kB / 0.7524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.852, allocations: 6.812 kB / 0.7524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.852, allocations: 7.094 kB / 0.7524 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.852, allocations: 87.12 kB / 0.7525 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.852, allocations: 0 / 0.7525 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002635/0.8523, allocations: 45.61 kB / 0.7526 GB, free: 24.71 MB / 0.5105 GB 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 () * 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.0002158/0.8525, allocations: 137.9 kB / 0.7527 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.8527, allocations: 63.3 kB / 0.7528 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8527, allocations: 0 / 0.7528 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.8527, allocations: 39.86 kB / 0.7528 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.8529, allocations: 9.969 kB / 0.7528 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004477/0.8534, allocations: 252.3 kB / 0.753 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.8537, allocations: 0.702 MB / 0.7537 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.929e-05/0.8537, allocations: 11.11 kB / 0.7537 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.8538, allocations: 11.25 kB / 0.7538 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8538, allocations: 0 / 0.7538 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.003242/0.857, allocations: 1.029 MB / 0.7548 GB, free: 23.6 MB / 0.5105 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)