Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.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.04503/0.04503, allocations: 9.129 MB / 28.99 MB, free: 0.8164 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.0009226/0.0009226, allocations: 91.16 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.001311/0.001311, allocations: 167.9 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.9908/0.9908, 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.004167/0.004167, allocations: 0.8271 MB / 276.5 MB, free: 0.7539 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.685/1.685, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.821e-05, allocations: 10.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002269/0.002298, allocations: 1.446 MB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.004189, allocations: 1.931 MB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.004224, allocations: 0 / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.005318, allocations: 381.6 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.32e-05/0.005371, allocations: 15.86 kB / 0.6415 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.005375, allocations: 4 kB / 0.6415 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.005585, allocations: 131.1 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.005633, allocations: 10.28 kB / 0.6416 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.005716, allocations: 67.8 kB / 0.6417 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.005813, allocations: 47.91 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.00583, allocations: 4 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.00619, allocations: 171.8 kB / 0.6419 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.00625, allocations: 35.84 kB / 0.642 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.006322, allocations: 51.92 kB / 0.642 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.006668, allocations: 294.7 kB / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.006672, allocations: 0 / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.542e-06/0.006673, allocations: 0 / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.006678, allocations: 0 / 0.6423 GB, free: 9.562 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000478/0.007156, allocations: 395.8 kB / 0.6427 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.007193, allocations: 11.98 kB / 0.6427 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.007285, allocations: 92.2 kB / 0.6428 GB, free: 9.051 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.007417, allocations: 220.4 kB / 0.643 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.007455, allocations: 158.9 kB / 0.6431 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.007497, allocations: 150.9 kB / 0.6433 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.257e-05/0.00755, allocations: 109.5 kB / 0.6434 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.007572, allocations: 79.45 kB / 0.6434 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.007609, allocations: 154.7 kB / 0.6436 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.579e-05/0.007644, allocations: 150.6 kB / 0.6437 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.007682, allocations: 162.5 kB / 0.6439 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.007865, allocations: 369.1 kB / 0.6442 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.007936, allocations: 165.1 kB / 0.6444 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.007961, allocations: 88.14 kB / 0.6445 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.007978, allocations: 75.28 kB / 0.6446 GB, free: 7.137 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.008016, allocations: 113.8 kB / 0.6447 GB, free: 7.016 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.008017, allocations: 0 / 0.6447 GB, free: 7.016 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.008129, allocations: 37.69 kB / 0.6447 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.008178, allocations: 130.7 kB / 0.6448 GB, free: 6.832 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.008356, allocations: 260.7 kB / 0.6451 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.008365, allocations: 25.7 kB / 0.6451 GB, free: 6.535 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.008408, allocations: 116.5 kB / 0.6452 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.293e-06/0.008409, allocations: 0 / 0.6452 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.008459, allocations: 61.64 kB / 0.6453 GB, free: 6.352 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.008545, allocations: 330.8 kB / 0.6456 GB, free: 6.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.008594, allocations: 34.77 kB / 0.6456 GB, free: 5.984 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-05/0.008647, allocations: 77.69 kB / 0.6457 GB, free: 5.887 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.008777, allocations: 157.7 kB / 0.6458 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.008779, allocations: 0 / 0.6458 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002596/0.009039, allocations: 181.2 kB / 0.646 GB, free: 5.512 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.009053, allocations: 4 kB / 0.646 GB, free: 5.508 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.009061, allocations: 4 kB / 0.646 GB, free: 5.504 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.009072, allocations: 3.984 kB / 0.646 GB, free: 5.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-06/0.009076, allocations: 4 kB / 0.646 GB, free: 5.496 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.00908, allocations: 80 / 0.646 GB, free: 5.496 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.009157, allocations: 43.59 kB / 0.6461 GB, free: 5.453 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.009165, allocations: 12.2 kB / 0.6461 GB, free: 5.441 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.575e-05/0.009261, allocations: 191.9 kB / 0.6463 GB, free: 5.242 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.009305, allocations: 109 kB / 0.6464 GB, free: 5.129 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.009345, allocations: 117.7 kB / 0.6465 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/0.009392, allocations: 180.3 kB / 0.6467 GB, free: 4.828 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.31e-05/0.009435, allocations: 184.2 kB / 0.6468 GB, free: 4.641 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/0.00948, allocations: 184.1 kB / 0.647 GB, free: 4.453 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.00964, allocations: 345.4 kB / 0.6473 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.009667, allocations: 108.9 kB / 0.6474 GB, free: 3.977 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.009693, allocations: 105 kB / 0.6475 GB, free: 3.867 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.229e-05/0.009736, allocations: 180.3 kB / 0.6477 GB, free: 3.684 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.009782, allocations: 184.2 kB / 0.6479 GB, free: 3.496 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-05/0.009826, allocations: 176.3 kB / 0.6481 GB, free: 3.316 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.557e-05/0.009871, allocations: 184.2 kB / 0.6482 GB, free: 3.129 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.009983, allocations: 307.8 kB / 0.6485 GB, free: 2.805 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.01003, allocations: 124.8 kB / 0.6486 GB, free: 2.672 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.01009, allocations: 180.3 kB / 0.6488 GB, free: 2.488 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.01016, allocations: 112.9 kB / 0.6489 GB, free: 2.371 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.0102, allocations: 176.6 kB / 0.6491 GB, free: 2.191 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.01023, allocations: 101 kB / 0.6492 GB, free: 2.086 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.0103, allocations: 94.69 kB / 0.6493 GB, free: 1.988 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 0.6493 GB, free: 1.988 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000226/0.01053, allocations: 63.94 kB / 0.6493 GB, free: 1.926 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 (0): * Single equations (assignments): 0 * 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.0002655/0.01079, allocations: 267.4 kB / 0.6496 GB, free: 1.652 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.0109, allocations: 64.62 kB / 0.6497 GB, free: 1.586 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.01091, allocations: 4.438 kB / 0.6497 GB, free: 1.582 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.01091, allocations: 4 kB / 0.6497 GB, free: 1.578 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.01113, allocations: 468 kB / 0.6501 GB, free: 1.117 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000487/0.01161, allocations: 351.9 kB / 0.6504 GB, free: 0.7461 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.01166, allocations: 79.31 kB / 0.6505 GB, free: 0.6484 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.342e-05/0.01167, allocations: 4 kB / 0.6505 GB, free: 0.6445 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.01172, allocations: 55.36 kB / 0.6506 GB, free: 0.5898 MB / 0.6043 GB Notification: Performance of SimCode: time 9.42e-07/0.01172, allocations: 0 / 0.6506 GB, free: 0.5898 MB / 0.6043 GB Notification: Performance of Templates: time 0.004713/0.01643, allocations: 2.792 MB / 0.6533 GB, free: 13.8 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.596621559932828]