Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.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.04467/0.04467, allocations: 9.127 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.001024/0.001024, allocations: 87.28 kB / 35.32 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.001442/0.001442, 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 1.044/1.044, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.004017/0.004017, allocations: 0.8254 MB / 276.5 MB, free: 0.7227 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.672/1.672, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance") translateModel(AixLib.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.288e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Lines.Examples.Resistance): time 0.003154/0.003187, allocations: 2.549 MB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.004768, allocations: 1.016 MB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.004919, allocations: 7.938 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.005391, allocations: 95.44 kB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.005679, allocations: 135.2 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.005929, allocations: 115.7 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.006267, allocations: 314.9 kB / 0.6419 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.006523, allocations: 182 kB / 0.6421 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.006697, allocations: 175.6 kB / 0.6423 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.006939, allocations: 123.6 kB / 0.6424 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.006967, allocations: 16 kB / 0.6424 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.007126, allocations: 91.73 kB / 0.6425 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.007214, allocations: 87.73 kB / 0.6426 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.007288, allocations: 79.83 kB / 0.6427 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.007593, allocations: 227.3 kB / 0.6429 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.007596, allocations: 0 / 0.6429 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.142e-06/0.007597, allocations: 0 / 0.6429 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.007603, allocations: 0 / 0.6429 GB, free: 8.938 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005358/0.008139, allocations: 420.1 kB / 0.6433 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.008174, allocations: 15.92 kB / 0.6433 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003949/0.008569, allocations: 112.8 kB / 0.6434 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.008787, allocations: 177.4 kB / 0.6436 GB, free: 8.176 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.008802, allocations: 12.75 kB / 0.6436 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.008828, allocations: 24.34 kB / 0.6436 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.009093, allocations: 279.7 kB / 0.6439 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.009102, allocations: 192 / 0.6439 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.009119, allocations: 8.375 kB / 0.6439 GB, free: 7.816 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.009153, allocations: 20.31 kB / 0.6439 GB, free: 7.797 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.009244, allocations: 65.02 kB / 0.644 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.01002, allocations: 0.9 MB / 0.6448 GB, free: 6.781 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.01014, allocations: 57.31 kB / 0.6449 GB, free: 6.715 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.494e-05/0.01017, allocations: 21 kB / 0.6449 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.01017, allocations: 0 / 0.6449 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.0102, allocations: 38.56 kB / 0.6449 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.0102, allocations: 0 / 0.6449 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0002572/0.01046, allocations: 102.4 kB / 0.645 GB, free: 6.535 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.01049, allocations: 51.41 kB / 0.6451 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.01059, allocations: 174.5 kB / 0.6453 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.0106, allocations: 25.7 kB / 0.6453 GB, free: 6.258 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.01067, allocations: 167.9 kB / 0.6454 GB, free: 6.09 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.01069, allocations: 31.73 kB / 0.6455 GB, free: 6.059 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.01073, allocations: 37.7 kB / 0.6455 GB, free: 6.016 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.01081, allocations: 326.8 kB / 0.6458 GB, free: 5.688 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.01083, allocations: 8 kB / 0.6458 GB, free: 5.68 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/0.01088, allocations: 84.41 kB / 0.6459 GB, free: 5.566 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.01097, allocations: 115.2 kB / 0.646 GB, free: 5.422 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.01097, allocations: 0 / 0.646 GB, free: 5.422 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001525/0.01112, allocations: 122.2 kB / 0.6461 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01114, allocations: 11.98 kB / 0.6461 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01114, allocations: 0 / 0.6461 GB, free: 5.281 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001499/0.01129, allocations: 33.12 kB / 0.6462 GB, free: 5.246 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.01136, allocations: 35.92 kB / 0.6462 GB, free: 5.211 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006452/0.012, allocations: 1.19 MB / 0.6474 GB, free: 3.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.01208, allocations: 19.95 kB / 0.6474 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01209, allocations: 11.94 kB / 0.6474 GB, free: 3.895 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/0.01217, allocations: 124.6 kB / 0.6475 GB, free: 3.762 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.0122, allocations: 11.98 kB / 0.6475 GB, free: 3.75 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.01222, allocations: 21.45 kB / 0.6476 GB, free: 3.73 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.01222, allocations: 0 / 0.6476 GB, free: 3.73 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.01222, allocations: 0 / 0.6476 GB, free: 3.73 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01222, allocations: 3.938 kB / 0.6476 GB, free: 3.727 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.01247, allocations: 251.5 kB / 0.6478 GB, free: 3.453 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01247, allocations: 4 kB / 0.6478 GB, free: 3.449 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.01249, allocations: 11.98 kB / 0.6478 GB, free: 3.438 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-05/0.01259, allocations: 24.84 kB / 0.6478 GB, free: 3.41 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.01259, allocations: 3.938 kB / 0.6478 GB, free: 3.406 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005632/0.01315, allocations: 1.19 MB / 0.649 GB, free: 2.109 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01316, allocations: 4 kB / 0.649 GB, free: 2.105 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.0133, allocations: 175.1 kB / 0.6492 GB, free: 1.914 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.01333, allocations: 11.91 kB / 0.6492 GB, free: 1.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.01334, allocations: 8 kB / 0.6492 GB, free: 1.895 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/0.0134, allocations: 7.984 kB / 0.6492 GB, free: 1.887 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.01341, allocations: 4 kB / 0.6492 GB, free: 1.883 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.01342, allocations: 0 / 0.6492 GB, free: 1.883 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.01346, allocations: 53.92 kB / 0.6493 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01346, allocations: 0 / 0.6493 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002071/0.01366, allocations: 51.89 kB / 0.6493 GB, free: 1.777 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 (6): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.773e-05/0.01376, allocations: 80.41 kB / 0.6494 GB, free: 1.691 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.01398, allocations: 179.8 kB / 0.6496 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.01398, allocations: 0 / 0.6496 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.01405, allocations: 135.5 kB / 0.6497 GB, free: 1.352 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01424, allocations: 31.86 kB / 0.6497 GB, free: 1.32 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.01499, allocations: 358.5 kB / 0.6501 GB, free: 0.9375 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.062e-05/0.01504, allocations: 91.95 kB / 0.6501 GB, free: 0.8281 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.01509, allocations: 10.12 kB / 0.6502 GB, free: 0.8203 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.01517, allocations: 87.27 kB / 0.6502 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of SimCode: time 1.062e-06/0.01517, allocations: 4 kB / 0.6502 GB, free: 0.7305 MB / 0.6043 GB Notification: Performance of Templates: time 0.004036/0.0192, allocations: 1.794 MB / 0.652 GB, free: 14.95 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.sim & ./AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.744123676791787]