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.00139/0.00139, 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.8596/0.8596, allocations: 130.7 MB / 138.7 MB, free: 3.574 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.543/1.543, allocations: 221.5 MB / 391.8 MB, free: 14.19 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.001091/0.001091, allocations: 93.3 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.762e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5488, allocations: 81.58 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.7132, allocations: 112 MB / 0.7375 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.7135, allocations: 79.95 kB / 0.7376 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.7262, allocations: 4.295 MB / 0.7418 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7262, allocations: 3.938 kB / 0.7418 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.7263, allocations: 4 kB / 0.7418 GB, free: 10.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004505/0.7267, allocations: 374.2 kB / 0.7421 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.7268, allocations: 8.031 kB / 0.7421 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.7268, allocations: 4 kB / 0.7421 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.727, allocations: 170.9 kB / 0.7423 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.727, allocations: 1.312 kB / 0.7423 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.727, allocations: 4 kB / 0.7423 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.99e-05/0.7271, allocations: 35.98 kB / 0.7424 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.7273, allocations: 62.38 kB / 0.7424 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7273, allocations: 0 / 0.7424 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.7273, allocations: 4 kB / 0.7424 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7273, allocations: 7.969 kB / 0.7424 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.7279, allocations: 293.2 kB / 0.7427 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.728, allocations: 62.5 kB / 0.7428 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.728, allocations: 16.86 kB / 0.7428 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.7281, allocations: 4.141 kB / 0.7428 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.7281, allocations: 34.56 kB / 0.7428 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.7281, allocations: 0 / 0.7428 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.000858/0.729, allocations: 0.5346 MB / 0.7433 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.729, allocations: 51.41 kB / 0.7434 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.17e-05/0.7291, allocations: 96.98 kB / 0.7435 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.7291, allocations: 25.7 kB / 0.7435 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.7292, allocations: 88.05 kB / 0.7436 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.7292, allocations: 39.45 kB / 0.7436 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.7292, allocations: 4 kB / 0.7436 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7293, allocations: 314.8 kB / 0.7439 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.7294, allocations: 20.09 kB / 0.7439 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.28e-05/0.7294, allocations: 27.92 kB / 0.744 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.7295, allocations: 21 kB / 0.744 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.7295, allocations: 0 / 0.744 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001298/0.7296, allocations: 88.67 kB / 0.7441 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7296, allocations: 4 kB / 0.7441 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7297, allocations: 0 / 0.7441 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7297, allocations: 15.89 kB / 0.7441 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.7298, allocations: 35.92 kB / 0.7441 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7298, allocations: 0 / 0.7441 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.75e-05/0.7299, allocations: 7.984 kB / 0.7441 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.7299, allocations: 4 kB / 0.7441 GB, free: 7.73 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.474e-05/0.73, allocations: 101 kB / 0.7442 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.7301, allocations: 7.906 kB / 0.7442 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.7303, allocations: 102 kB / 0.7443 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7303, allocations: 7.953 kB / 0.7444 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7303, allocations: 0 / 0.7444 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7303, allocations: 0 / 0.7444 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.7306, allocations: 331.1 kB / 0.7447 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7307, allocations: 0 / 0.7447 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.7308, allocations: 27.92 kB / 0.7447 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7308, allocations: 0 / 0.7447 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.7308, allocations: 15.95 kB / 0.7447 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7308, allocations: 0 / 0.7447 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7309, allocations: 0 / 0.7447 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.7311, allocations: 209.5 kB / 0.7449 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.7312, allocations: 89.03 kB / 0.745 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.7312, allocations: 0 / 0.745 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.7313, allocations: 11.95 kB / 0.745 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.7313, allocations: 8.047 kB / 0.745 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.7314, allocations: 8 kB / 0.745 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.205e-05/0.7314, allocations: 83.45 kB / 0.7451 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7314, allocations: 0 / 0.7451 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002673/0.7317, allocations: 47.86 kB / 0.7451 GB, free: 6.613 MB / 0.5261 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.0002342/0.7319, allocations: 136.7 kB / 0.7453 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.7321, allocations: 59.98 kB / 0.7453 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7321, allocations: 0 / 0.7453 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.7321, allocations: 43.88 kB / 0.7454 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.7323, allocations: 3.984 kB / 0.7454 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.7328, allocations: 236.7 kB / 0.7456 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.7331, allocations: 0.6924 MB / 0.7463 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.765e-05/0.7332, allocations: 8.656 kB / 0.7463 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.7332, allocations: 15.44 kB / 0.7463 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.7332, allocations: 7.938 kB / 0.7463 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of Templates: time 0.00322/0.7364, allocations: 0.9983 MB / 0.7473 GB, free: 4.375 MB / 0.5261 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)