Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.04208/0.04208, allocations: 9.128 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.0008924/0.0008924, allocations: 90.72 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.001159/0.001159, allocations: 164.5 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 0.9797/0.9797, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004066/0.004066, allocations: 0.826 MB / 276.5 MB, free: 0.7188 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.756/1.756, 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.085e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00259/0.00262, allocations: 1.329 MB / 0.6391 GB, free: 12.8 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.00359, allocations: 0.5603 MB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.00362, allocations: 0 / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.003644, allocations: 0 / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.003711, allocations: 15.91 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.004269, allocations: 143.3 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.004333, allocations: 19.92 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.004377, allocations: 7.938 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.004417, allocations: 7.984 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.00448, allocations: 7.984 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004497, allocations: 4 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.004928, allocations: 271.4 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.00495, allocations: 4 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.004974, allocations: 8 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.005237, allocations: 159.4 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005241, allocations: 0 / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005242, allocations: 0 / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005246, allocations: 0 / 0.6403 GB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004123/0.005658, allocations: 264.6 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.005704, allocations: 11.98 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.005741, allocations: 0.9375 kB / 0.6406 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.005841, allocations: 109.8 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.005853, allocations: 4.375 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.005865, allocations: 4.375 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.102e-05/0.005946, allocations: 46.12 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.005954, allocations: 192 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.005963, allocations: 4.359 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.005969, allocations: 384 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.005997, allocations: 15.94 kB / 0.6408 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.006246, allocations: 148.3 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.006418, allocations: 42.53 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.006442, allocations: 20.86 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.006462, allocations: 4 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.006495, allocations: 34.55 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.006497, allocations: 0 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001307/0.006627, allocations: 41.69 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.006665, allocations: 55.34 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.006731, allocations: 98.72 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006744, allocations: 29.7 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.006796, allocations: 84.09 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.006812, allocations: 19.83 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.006845, allocations: 17.7 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.00695, allocations: 322.8 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.006964, allocations: 4 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.006988, allocations: 21.69 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.00703, allocations: 21.72 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007032, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.196e-05/0.007114, allocations: 49.62 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007127, allocations: 7.984 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.007133, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.007147, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.73e-05/0.007195, allocations: 15.97 kB / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.007198, allocations: 0 / 0.6417 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.007219, allocations: 4 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.007224, allocations: 0 / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.08e-05/0.007295, allocations: 113.8 kB / 0.6419 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.007316, allocations: 4 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.007437, allocations: 57.34 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.007439, allocations: 0 / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.007443, allocations: 3.938 kB / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007446, allocations: 3.938 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.007568, allocations: 65.91 kB / 0.642 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.00757, allocations: 0 / 0.642 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.994e-05/0.0076, allocations: 11.98 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.007601, allocations: 0 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007606, allocations: 0 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007607, allocations: 0 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007608, allocations: 128 / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007709, allocations: 147.9 kB / 0.6421 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.007721, allocations: 15.95 kB / 0.6422 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.00773, allocations: 0 / 0.6422 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.007775, allocations: 0 / 0.6422 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.007791, allocations: 11.98 kB / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.007794, allocations: 0 / 0.6422 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.289e-05/0.007807, allocations: 8.797 kB / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.007807, allocations: 0 / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002572/0.008065, allocations: 23.88 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001829/0.008247, allocations: 100.3 kB / 0.6423 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.008325, allocations: 20.8 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.008329, allocations: 0 / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.008347, allocations: 20.83 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.00851, allocations: 4.062 kB / 0.6423 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.008786, allocations: 120.5 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.008825, allocations: 55.36 kB / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.00886, allocations: 7.984 kB / 0.6425 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.008906, allocations: 51.38 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of SimCode: time 7.51e-07/0.008907, allocations: 4 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of Templates: time 0.002908/0.01182, allocations: 0.5939 MB / 0.6431 GB, free: 8.422 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.645080320071429]