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.04196/0.04196, allocations: 9.13 MB / 28.99 MB, free: 0.8086 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.0008515/0.0008515, allocations: 91.27 kB / 35.33 MB, free: 1.066 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.001031/0.001031, allocations: 163.7 kB / 38.73 MB, free: 2.508 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 1.028/1.028, allocations: 177.2 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.004245/0.004245, allocations: 0.8257 MB / 276.5 MB, free: 0.7422 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.715/1.715, 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_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.673e-06/1.673e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.408e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00363/0.003664, allocations: 1.384 MB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.004848, allocations: 0.5837 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.00489, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.004922, allocations: 3.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.004975, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.005693, allocations: 155.2 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.005784, allocations: 23.92 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.005841, allocations: 11.98 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.766e-05/0.005898, allocations: 15.92 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.005976, allocations: 11.98 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.005991, allocations: 0 / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.006512, allocations: 275.4 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.006536, allocations: 8 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.006559, allocations: 7.938 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.00688, allocations: 167.5 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.006885, allocations: 0 / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.763e-06/0.006887, allocations: 0 / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.006893, allocations: 0 / 0.6405 GB, free: 11.44 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.0004183/0.007311, allocations: 276.5 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.007359, allocations: 15.92 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.007402, allocations: 4.938 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.007513, allocations: 109.8 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.007528, allocations: 4.375 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.007556, allocations: 4.375 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.007686, allocations: 93.66 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.007698, allocations: 4.125 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.007709, allocations: 4.375 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.007717, allocations: 384 / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.007755, allocations: 19.92 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.007921, allocations: 72.98 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.008044, allocations: 42.56 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.008079, allocations: 25.06 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.008103, allocations: 0 / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.00814, allocations: 34.56 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.008141, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.001186/0.009327, allocations: 439.6 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.009366, allocations: 55.41 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.729e-05/0.009444, allocations: 98.66 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.009462, allocations: 29.7 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.009498, allocations: 84 kB / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.009551, allocations: 47.75 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.009609, allocations: 33.69 kB / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.009808, allocations: 314.8 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.009838, allocations: 12 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.009868, allocations: 15.92 kB / 0.6422 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.009941, allocations: 37.08 kB / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009942, allocations: 0 / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001284/0.01007, allocations: 65.67 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01009, allocations: 4 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.0101, allocations: 0 / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.01012, allocations: 4 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.01023, allocations: 27.92 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01023, allocations: 3.938 kB / 0.6424 GB, free: 9.281 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.01026, allocations: 8 kB / 0.6424 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01027, allocations: 0 / 0.6424 GB, free: 9.273 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 9.695e-05/0.01037, allocations: 121.8 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.01038, allocations: 4 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.01054, allocations: 77.72 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01054, allocations: 0 / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01055, allocations: 0 / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.01055, allocations: 7.938 kB / 0.6426 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.01088, allocations: 222.8 kB / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01088, allocations: 4 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01099, allocations: 23.94 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.011, allocations: 0 / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01101, allocations: 3.984 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.01101, allocations: 11.92 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.01102, allocations: 3.938 kB / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01121, allocations: 175.5 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.01122, allocations: 3.953 kB / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.01124, allocations: 4 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.01132, allocations: 4.031 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.01134, allocations: 15.92 kB / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01135, allocations: 0 / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.01137, allocations: 8.859 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01137, allocations: 0 / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003026/0.01167, allocations: 39.86 kB / 0.6431 GB, free: 8.496 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.0002598/0.01193, allocations: 120.1 kB / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.01206, allocations: 53.2 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01207, allocations: 0 / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.0121, allocations: 32.83 kB / 0.6433 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.0123, allocations: 8 kB / 0.6433 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.01304, allocations: 228.1 kB / 0.6435 GB, free: 8.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.01309, allocations: 55.36 kB / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.346e-05/0.01314, allocations: 11.98 kB / 0.6436 GB, free: 7.934 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.556e-05/0.01323, allocations: 63.38 kB / 0.6436 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of SimCode: time 8.42e-07/0.01323, allocations: 0 / 0.6436 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of Templates: time 0.004394/0.01762, allocations: 1.067 MB / 0.6447 GB, free: 6.801 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.567663710098714]