Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04246/0.04246, allocations: 9.129 MB / 28.99 MB, free: 0.8125 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001444/0.001444, allocations: 98.95 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001101/0.001101, allocations: 170.6 kB / 38.73 MB, free: 2.504 MB / 24.77 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.9454/0.9454, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004089/0.004089, allocations: 0.8295 MB / 276.5 MB, free: 0.7578 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.649/1.649, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.527e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001887/0.001913, allocations: 1.333 MB / 0.6392 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.002729, allocations: 0.572 MB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.002758, allocations: 4 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.002776, allocations: 3.938 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.069e-05/0.002817, allocations: 7.922 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.003307, allocations: 155.2 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.003365, allocations: 31.86 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.546e-05/0.003401, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.805e-05/0.003439, allocations: 15.98 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.003499, allocations: 11.97 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.003514, allocations: 8 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.003823, allocations: 271.4 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.003841, allocations: 11.92 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.00386, allocations: 8 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.004063, allocations: 163.5 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004065, allocations: 0 / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004066, allocations: 0 / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.00407, allocations: 0 / 0.6404 GB, free: 11.54 MB / 0.6043 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.0003062/0.004376, allocations: 268.5 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004411, allocations: 11.98 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.004439, allocations: 12.94 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/0.004523, allocations: 113.8 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.004533, allocations: 384 / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.004557, allocations: 8.359 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.004648, allocations: 101.6 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004657, allocations: 192 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004664, allocations: 4.375 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.00467, allocations: 384 / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.004694, allocations: 19.92 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.032e-05/0.004784, allocations: 65 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.929e-05/0.004863, allocations: 50.62 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.004883, allocations: 20.84 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.004897, allocations: 0 / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.00492, allocations: 42.5 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 5.91e-07/0.004921, allocations: 0 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0007124/0.005633, allocations: 427.8 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.005662, allocations: 55.41 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.005709, allocations: 102.6 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.005721, allocations: 33.7 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.062e-05/0.005741, allocations: 84 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.005773, allocations: 39.64 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.005803, allocations: 29.64 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.00588, allocations: 326.8 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.005895, allocations: 16.12 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.00591, allocations: 11.98 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.005952, allocations: 33.09 kB / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.005953, allocations: 0 / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.409e-05/0.006017, allocations: 65.67 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.006028, allocations: 4 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006032, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.006042, allocations: 0 / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.00611, allocations: 31.92 kB / 0.6423 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006114, allocations: 3.938 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.006125, allocations: 0 / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.006131, allocations: 8 kB / 0.6423 GB, free: 9.371 MB / 0.6043 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 (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.378e-05/0.006185, allocations: 113.8 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.006197, allocations: 11.98 kB / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.006291, allocations: 77.78 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.006292, allocations: 0 / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006294, allocations: 0 / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.0063, allocations: 11.91 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.006503, allocations: 222.8 kB / 0.6427 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006505, allocations: 3.984 kB / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.006565, allocations: 19.94 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006567, allocations: 8 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.006573, allocations: 0 / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006574, allocations: 0 / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.006576, allocations: 3.938 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.006701, allocations: 183.5 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.006708, allocations: 11.89 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.006717, allocations: 4 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.006754, allocations: 0 / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.006768, allocations: 11.92 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.006774, allocations: 4 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.837e-06/0.006783, allocations: 12.89 kB / 0.6429 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006783, allocations: 3.938 kB / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001581/0.006941, allocations: 39.86 kB / 0.643 GB, free: 8.582 MB / 0.6043 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 () * 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.000146/0.007087, allocations: 108.2 kB / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.721e-05/0.007175, allocations: 44.83 kB / 0.6431 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.007178, allocations: 4 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.007205, allocations: 32.78 kB / 0.6432 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.00733, allocations: 8 kB / 0.6432 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.007797, allocations: 220.1 kB / 0.6434 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.007831, allocations: 63.34 kB / 0.6434 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.007861, allocations: 11.97 kB / 0.6435 GB, free: 8.035 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.00791, allocations: 63.38 kB / 0.6435 GB, free: 7.973 MB / 0.6043 GB Notification: Performance of SimCode: time 6.51e-07/0.00791, allocations: 4 kB / 0.6435 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of Templates: time 0.002499/0.01041, allocations: 1.079 MB / 0.6446 GB, free: 6.887 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.37775913067162]