Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9622/0.9622, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.825/0.825, allocations: 154.9 MB / 415.1 MB, free: 244 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.004e-05, allocations: 4.422 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002071/0.002091, allocations: 1.551 MB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.002946, allocations: 0.6035 MB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.002977, allocations: 7.938 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.003003, allocations: 0 / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.003052, allocations: 7.609 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.003512, allocations: 158.3 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.003586, allocations: 57.14 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.003624, allocations: 4.984 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.003705, allocations: 39.89 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.00374, allocations: 16.67 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003754, allocations: 4 kB / 482.9 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.004091, allocations: 280 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.004115, allocations: 15.92 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.004136, allocations: 20.55 kB / 483.2 MB, free: 3.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.004377, allocations: 180 kB / 483.3 MB, free: 3.625 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.00438, allocations: 3.938 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004381, allocations: 0.625 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004385, allocations: 0 / 483.3 MB, free: 3.621 MB / 442.7 MB 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.0003382/0.004724, allocations: 300.8 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004753, allocations: 8.031 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.004783, allocations: 9.859 kB / 483.7 MB, free: 3.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.004854, allocations: 109.7 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.004874, allocations: 8.375 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.00489, allocations: 5.969 kB / 483.8 MB, free: 3.145 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.005026, allocations: 137.2 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005035, allocations: 192 / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005043, allocations: 4.375 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.005048, allocations: 1.281 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.005081, allocations: 19.92 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.005383, allocations: 209.1 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.005477, allocations: 59.08 kB / 484.2 MB, free: 2.684 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.005495, allocations: 14.33 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.00551, allocations: 8.828 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.005531, allocations: 34.5 kB / 484.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.005533, allocations: 0.6562 kB / 484.3 MB, free: 2.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007726/0.006305, allocations: 454.4 kB / 484.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.006329, allocations: 51.41 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.846e-05/0.006387, allocations: 107.2 kB / 484.9 MB, free: 1.945 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.006397, allocations: 26.39 kB / 484.9 MB, free: 1.914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.006429, allocations: 93.58 kB / 485 MB, free: 1.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.006461, allocations: 41.08 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.006495, allocations: 29.7 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.006572, allocations: 318.8 kB / 485.3 MB, free: 1.426 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.006592, allocations: 12 kB / 485.4 MB, free: 1.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.006609, allocations: 12.67 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.805e-05/0.006657, allocations: 44.84 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.006658, allocations: 2 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.099e-05/0.006739, allocations: 72.48 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.006752, allocations: 4 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.006758, allocations: 3.984 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.006769, allocations: 0 / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.00685, allocations: 33.36 kB / 485.5 MB, free: 1.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006853, allocations: 4.531 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.006874, allocations: 0.625 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.00688, allocations: 4 kB / 485.5 MB, free: 1.234 MB / 442.7 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 (13): * Single equations (assignments): 13 * 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 5.329e-05/0.006934, allocations: 110.4 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.006956, allocations: 13.36 kB / 485.7 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.007064, allocations: 89.67 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007067, allocations: 4 kB / 485.8 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007069, allocations: 0.6875 kB / 485.8 MB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007072, allocations: 3.938 kB / 485.8 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.00729, allocations: 235.7 kB / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.007292, allocations: 0 / 486 MB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.543e-05/0.007367, allocations: 23.98 kB / 486 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.007372, allocations: 5.656 kB / 486 MB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.007382, allocations: 9.031 kB / 486 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007384, allocations: 3.938 kB / 486 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007385, allocations: 0 / 486 MB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.007522, allocations: 186.4 kB / 486.2 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.007534, allocations: 13.86 kB / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.007548, allocations: 0 / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.007625, allocations: 11.98 kB / 486.2 MB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.007645, allocations: 3.984 kB / 486.2 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.007655, allocations: 4 kB / 486.2 MB, free: 496 kB / 442.7 MB Notification: Performance of sorting global known variables: time 1.694e-05/0.007672, allocations: 11.16 kB / 486.3 MB, free: 484 kB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007672, allocations: 0 / 486.3 MB, free: 484 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.000177/0.007849, allocations: 39.81 kB / 486.3 MB, free: 444 kB / 442.7 MB 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 () * Number of clocked 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 (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.0001809/0.00803, allocations: 117.6 kB / 486.4 MB, free: 320 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.00814, allocations: 48.83 kB / 486.5 MB, free: 268 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.008143, allocations: 1.75 kB / 486.5 MB, free: 268 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.008172, allocations: 32.78 kB / 486.5 MB, free: 232 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.008321, allocations: 15.92 kB / 486.5 MB, free: 216 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.008822, allocations: 227.6 kB / 486.7 MB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.008858, allocations: 63.34 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.008904, allocations: 14.22 kB / 486.8 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.008972, allocations: 71.36 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008973, allocations: 0.8438 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of Templates: time 0.003166/0.01214, allocations: 1.296 MB / 488.2 MB, free: 14.66 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.627677188720554]