Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.04129/0.04129, allocations: 9.129 MB / 28.99 MB, free: 0.8242 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.0009068/0.0009068, allocations: 94.36 kB / 35.33 MB, free: 1.086 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.001089/0.001089, allocations: 161.8 kB / 38.73 MB, free: 2.484 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.9658/0.9658, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004219/0.004219, allocations: 0.8266 MB / 276.5 MB, free: 0.7383 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.542/1.542, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.464e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002589/0.002614, allocations: 1.325 MB / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003768, allocations: 0.572 MB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.003796, allocations: 3.938 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.003817, allocations: 7.938 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.003871, allocations: 7.984 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/0.004466, allocations: 143.2 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.009e-05/0.004536, allocations: 23.91 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.004575, allocations: 4 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.004637, allocations: 7.984 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.004692, allocations: 11.94 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.004706, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.005132, allocations: 271.4 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.005153, allocations: 11.92 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.005172, allocations: 4 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.005436, allocations: 155.5 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005439, allocations: 0 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.92e-07/0.005439, allocations: 0 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.005445, allocations: 3.984 kB / 0.6403 GB, free: 11.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003434/0.005788, allocations: 256.6 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.005836, allocations: 15.98 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.005866, allocations: 0.9375 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.005956, allocations: 109.8 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.005967, allocations: 4.375 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.005996, allocations: 12.36 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.006086, allocations: 59.95 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.006094, allocations: 192 / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.006101, allocations: 4.312 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.006106, allocations: 384 / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.006131, allocations: 11.94 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001126/0.006244, allocations: 65 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.00642, allocations: 34.59 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.006448, allocations: 20.94 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.006464, allocations: 0 / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.006494, allocations: 34.56 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.006496, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0006518/0.007148, allocations: 229.1 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.007181, allocations: 51.41 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.007239, allocations: 98.72 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.007254, allocations: 29.69 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.007282, allocations: 88.12 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.007311, allocations: 27.73 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.007345, allocations: 17.72 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.007435, allocations: 326.8 kB / 0.6418 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.007451, allocations: 4 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.272e-05/0.007464, allocations: 8.062 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.007504, allocations: 24.78 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007506, allocations: 0 / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.41e-05/0.00758, allocations: 49.67 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.007594, allocations: 8 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.007598, allocations: 0 / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007611, allocations: 0.5156 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.007668, allocations: 15.98 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007671, allocations: 0 / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.007691, allocations: 7.938 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.007697, allocations: 4 kB / 0.6419 GB, free: 9.816 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 (7): * Single equations (assignments): 7 * 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 6.316e-05/0.00776, allocations: 109.8 kB / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.007775, allocations: 4 kB / 0.642 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.007884, allocations: 66.02 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.007888, allocations: 3.984 kB / 0.6421 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00789, allocations: 0 / 0.6421 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007892, allocations: 0 / 0.6421 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.008122, allocations: 219.5 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.008125, allocations: 0 / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.008188, allocations: 11.98 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.008192, allocations: 4 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.008199, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.008202, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.008203, allocations: 0 / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.008355, allocations: 164.5 kB / 0.6424 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.00838, allocations: 4 kB / 0.6424 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.008393, allocations: 4 kB / 0.6424 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.008459, allocations: 12.06 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.008477, allocations: 7.922 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.008483, allocations: 0 / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.324e-05/0.008496, allocations: 8.859 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.008496, allocations: 0 / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000238/0.008734, allocations: 23.88 kB / 0.6425 GB, free: 9.121 MB / 0.6043 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 (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.0001803/0.008914, allocations: 108.3 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.00899, allocations: 24.8 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.008993, allocations: 0 / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.009018, allocations: 24.78 kB / 0.6426 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.009177, allocations: 8 kB / 0.6426 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.009697, allocations: 173.2 kB / 0.6428 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.00973, allocations: 63.34 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.009755, allocations: 4.141 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.009797, allocations: 55.38 kB / 0.6429 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of SimCode: time 9.62e-07/0.009798, allocations: 0 / 0.6429 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of Templates: time 0.002143/0.01194, allocations: 0.7319 MB / 0.6436 GB, free: 7.867 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1741979769431055]