Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.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.06246/0.06246, allocations: 9.129 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.001052/0.001052, allocations: 90.38 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.0009687/0.0009687, allocations: 167.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.021/1.021, allocations: 177.1 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.005816/0.005816, allocations: 0.8225 MB / 276.5 MB, free: 0.7461 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.755/1.755, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor") translateModel(AixLib.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.697e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Loads.Examples.Resistor): time 0.003146/0.003163, allocations: 2.997 MB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.004788, allocations: 1.145 MB / 0.6419 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.004922, allocations: 11.94 kB / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.005344, allocations: 119.2 kB / 0.642 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.005664, allocations: 194.8 kB / 0.6422 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.005941, allocations: 163.6 kB / 0.6424 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000438/0.006379, allocations: 498.2 kB / 0.6428 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.006712, allocations: 284.1 kB / 0.6431 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.006958, allocations: 271.4 kB / 0.6434 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.007274, allocations: 191.5 kB / 0.6436 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.007311, allocations: 28 kB / 0.6436 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.007493, allocations: 99.78 kB / 0.6437 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.00759, allocations: 139.6 kB / 0.6438 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.007681, allocations: 127.7 kB / 0.6439 GB, free: 7.883 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.008012, allocations: 322.8 kB / 0.6442 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008015, allocations: 4 kB / 0.6442 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.92e-07/0.008016, allocations: 0 / 0.6442 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.008022, allocations: 0 / 0.6442 GB, free: 7.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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0005551/0.008577, allocations: 0.5154 MB / 0.6448 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.00861, allocations: 11.98 kB / 0.6448 GB, free: 7.012 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.009194, allocations: 184.6 kB / 0.6449 GB, free: 6.832 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.009448, allocations: 213.2 kB / 0.6451 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.009466, allocations: 21.03 kB / 0.6452 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.009497, allocations: 36.31 kB / 0.6452 GB, free: 6.539 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.009829, allocations: 423.4 kB / 0.6456 GB, free: 6.059 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.009842, allocations: 192 / 0.6456 GB, free: 6.059 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.009865, allocations: 16.36 kB / 0.6456 GB, free: 6.043 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.009907, allocations: 36.58 kB / 0.6457 GB, free: 6.008 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01003, allocations: 96.41 kB / 0.6457 GB, free: 5.918 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.01102, allocations: 1.333 MB / 0.647 GB, free: 4.531 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.01117, allocations: 93.34 kB / 0.6471 GB, free: 4.43 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.01125, allocations: 52.83 kB / 0.6472 GB, free: 4.375 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.01126, allocations: 8 kB / 0.6472 GB, free: 4.367 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.01129, allocations: 38.55 kB / 0.6472 GB, free: 4.32 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01129, allocations: 0 / 0.6472 GB, free: 4.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=14): time 0.0002548/0.01154, allocations: 126.6 kB / 0.6473 GB, free: 4.188 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.01157, allocations: 55.41 kB / 0.6474 GB, free: 4.121 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.0117, allocations: 215.3 kB / 0.6476 GB, free: 3.898 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01171, allocations: 29.7 kB / 0.6476 GB, free: 3.863 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.01179, allocations: 200.1 kB / 0.6478 GB, free: 3.664 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.01182, allocations: 59.58 kB / 0.6479 GB, free: 3.605 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.782e-05/0.01188, allocations: 49.88 kB / 0.6479 GB, free: 3.547 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/0.01196, allocations: 330.8 kB / 0.6482 GB, free: 3.215 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.01198, allocations: 24.39 kB / 0.6483 GB, free: 3.191 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.01205, allocations: 104 kB / 0.6484 GB, free: 3.051 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.01217, allocations: 157.6 kB / 0.6485 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01217, allocations: 0 / 0.6485 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001778/0.01235, allocations: 170.3 kB / 0.6487 GB, free: 2.676 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01236, allocations: 8 kB / 0.6487 GB, free: 2.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01237, allocations: 8 kB / 0.6487 GB, free: 2.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001389/0.0125, allocations: 28.83 kB / 0.6487 GB, free: 2.629 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01262, allocations: 55.91 kB / 0.6488 GB, free: 2.574 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006023/0.01322, allocations: 1.184 MB / 0.6499 GB, free: 1.297 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.0133, allocations: 23.78 kB / 0.65 GB, free: 1.273 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01331, allocations: 15.94 kB / 0.65 GB, free: 1.258 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.164e-05/0.01339, allocations: 124.6 kB / 0.6501 GB, free: 1.125 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.01342, allocations: 20.11 kB / 0.6501 GB, free: 1.105 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.01345, allocations: 25.45 kB / 0.6501 GB, free: 1.082 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01345, allocations: 0 / 0.6501 GB, free: 1.082 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01345, allocations: 0 / 0.6501 GB, free: 1.082 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01345, allocations: 3.984 kB / 0.6501 GB, free: 1.078 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.01392, allocations: 0.5801 MB / 0.6507 GB, free: 452 kB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01393, allocations: 7.938 kB / 0.6507 GB, free: 444 kB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.01398, allocations: 24.19 kB / 0.6507 GB, free: 420 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.434e-05/0.01406, allocations: 28.83 kB / 0.6508 GB, free: 388 kB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01407, allocations: 4 kB / 0.6508 GB, free: 384 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000536/0.0146, allocations: 1.194 MB / 0.6519 GB, free: 15.08 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01461, allocations: 4 kB / 0.6519 GB, free: 15.08 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.01478, allocations: 292.6 kB / 0.6522 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.01482, allocations: 35.84 kB / 0.6522 GB, free: 14.71 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.01484, allocations: 7.984 kB / 0.6523 GB, free: 14.71 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.01491, allocations: 8 kB / 0.6523 GB, free: 14.7 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.01493, allocations: 19.86 kB / 0.6523 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01494, allocations: 4 kB / 0.6523 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.01499, allocations: 75.22 kB / 0.6524 GB, free: 14.6 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3e-08/0.01499, allocations: 0 / 0.6524 GB, free: 14.6 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002285/0.01522, allocations: 87.73 kB / 0.6524 GB, free: 14.52 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * 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: 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 7.413e-05/0.01529, allocations: 88.28 kB / 0.6525 GB, free: 14.42 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01559, allocations: 207.9 kB / 0.6527 GB, free: 14.2 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.0156, allocations: 4 kB / 0.6527 GB, free: 14.2 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01571, allocations: 159.4 kB / 0.6529 GB, free: 14.03 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01595, allocations: 53.19 kB / 0.6529 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.01672, allocations: 0.5397 MB / 0.6535 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.01679, allocations: 104.3 kB / 0.6536 GB, free: 13.26 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.01686, allocations: 25.94 kB / 0.6536 GB, free: 13.23 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01697, allocations: 99.28 kB / 0.6537 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of SimCode: time 5.41e-07/0.01697, allocations: 0 / 0.6537 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of Templates: time 0.004532/0.02151, allocations: 2.644 MB / 0.6563 GB, free: 10.5 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.sim & ./AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.551541653927416]