Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.06224/0.06224, 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.001022/0.001022, 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.001411/0.001411, allocations: 163.7 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 1.061/1.061, 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.006219/0.006219, allocations: 0.8263 MB / 276.5 MB, free: 0.7305 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.882/1.882, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.788e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00359/0.003618, allocations: 1.38 MB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.004884, allocations: 0.5797 MB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.004916, allocations: 0 / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.00494, allocations: 7.984 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-05/0.004994, allocations: 7.922 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.005705, allocations: 135.3 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.0058, allocations: 23.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.00585, allocations: 7.922 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.005936, allocations: 15.98 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.005991, allocations: 0 / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.006005, allocations: 4 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.006509, allocations: 283.4 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.006531, allocations: 3.984 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.006553, allocations: 4 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.006856, allocations: 151.5 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006861, allocations: 0 / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.663e-06/0.006862, allocations: 0 / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.006868, allocations: 0 / 0.6404 GB, free: 11.5 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.0004002/0.007268, allocations: 264.6 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.007314, allocations: 15.98 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.007349, allocations: 0.9375 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.007466, allocations: 109.7 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.00748, allocations: 8.375 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.00751, allocations: 12.3 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.007627, allocations: 59.95 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.007637, allocations: 192 / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.007645, allocations: 384 / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007653, allocations: 384 / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.74e-05/0.00768, allocations: 11.94 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.007817, allocations: 65 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.008007, allocations: 38.53 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.00803, allocations: 12.86 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.008049, allocations: 8.078 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.008084, allocations: 38.56 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.008086, allocations: 0 / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0008585/0.008945, allocations: 225.3 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.00898, allocations: 51.41 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.009043, allocations: 102.7 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.009057, allocations: 29.7 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.009084, allocations: 80.14 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.009122, allocations: 31.77 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.009161, allocations: 17.72 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.009261, allocations: 322.8 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.009277, allocations: 7.984 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.00929, allocations: 4 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.009336, allocations: 20.84 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009337, allocations: 0 / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.487e-05/0.009422, allocations: 45.69 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.009438, allocations: 8 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.009443, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.00946, allocations: 3.938 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.00952, allocations: 12 kB / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.009523, allocations: 240 / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.009549, allocations: 15.92 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.009554, allocations: 0 / 0.642 GB, free: 9.715 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.886e-05/0.009623, allocations: 109.8 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.009637, allocations: 4 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.009755, allocations: 65.78 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009758, allocations: 3.938 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00976, allocations: 3.938 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.009764, allocations: 0 / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.01001, allocations: 215.6 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01002, allocations: 0 / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.01009, allocations: 15.94 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.01009, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.0101, allocations: 3.984 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.0101, allocations: 0 / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.0101, allocations: 0 / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.01026, allocations: 164.5 kB / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.01029, allocations: 4 kB / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.0103, allocations: 0 / 0.6425 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.01037, allocations: 12.06 kB / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.01039, allocations: 11.86 kB / 0.6426 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.0104, allocations: 4 kB / 0.6426 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.46e-05/0.01041, allocations: 4.859 kB / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01041, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002467/0.01066, allocations: 23.94 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001901/0.01085, allocations: 100.3 kB / 0.6427 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.281e-05/0.01093, allocations: 24.84 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01094, allocations: 0 / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.01096, allocations: 28.78 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01113, allocations: 7.938 kB / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.01169, allocations: 185.6 kB / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.463e-05/0.01172, allocations: 55.36 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.184e-05/0.01176, allocations: 7.984 kB / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.01181, allocations: 59.38 kB / 0.643 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of SimCode: time 1.413e-06/0.01181, allocations: 0 / 0.643 GB, free: 8.488 MB / 0.6043 GB Notification: Performance of Templates: time 0.002165/0.01397, allocations: 0.752 MB / 0.6438 GB, free: 7.734 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.800454712938517]