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.06255/0.06255, allocations: 9.133 MB / 28.99 MB, free: 328 kB / 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.0009301/0.0009301, allocations: 98.64 kB / 35.33 MB, free: 0.9219 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.001501/0.001501, allocations: 169 kB / 38.73 MB, free: 2.398 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.056/1.056, 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.004156/0.004156, allocations: 0.8264 MB / 276.5 MB, free: 0.7109 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.698/1.698, 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.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.553e-06/1.553e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.934e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Loads.Examples.Resistor): time 0.004821/0.004851, allocations: 2.95 MB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002341/0.007191, allocations: 1.149 MB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.00743, allocations: 7.938 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.008065, allocations: 119.3 kB / 0.6419 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.008602, allocations: 210.7 kB / 0.6421 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.00905, allocations: 159.6 kB / 0.6423 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.009676, allocations: 486.2 kB / 0.6428 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.01013, allocations: 292 kB / 0.643 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.01049, allocations: 275.4 kB / 0.6433 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.01093, allocations: 191.4 kB / 0.6435 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.01099, allocations: 28 kB / 0.6435 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.01123, allocations: 91.8 kB / 0.6436 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01137, allocations: 135.6 kB / 0.6437 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.01152, allocations: 127.7 kB / 0.6439 GB, free: 7.953 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000678/0.0122, allocations: 322.8 kB / 0.6442 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0122, allocations: 0 / 0.6442 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.392e-06/0.01221, allocations: 4 kB / 0.6442 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.01221, allocations: 0 / 0.6442 GB, free: 7.633 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.0008367/0.01305, allocations: 0.5232 MB / 0.6447 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.01309, allocations: 11.98 kB / 0.6447 GB, free: 7.074 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.01396, allocations: 180.6 kB / 0.6449 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.01433, allocations: 217.2 kB / 0.6451 GB, free: 6.66 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.01435, allocations: 21.03 kB / 0.6451 GB, free: 6.637 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.0144, allocations: 32.36 kB / 0.6451 GB, free: 6.605 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.01489, allocations: 423.4 kB / 0.6455 GB, free: 6.125 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01491, allocations: 192 / 0.6455 GB, free: 6.125 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.01494, allocations: 12.38 kB / 0.6455 GB, free: 6.113 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.015, allocations: 36.56 kB / 0.6456 GB, free: 6.078 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.0152, allocations: 104.4 kB / 0.6457 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.01674, allocations: 1.325 MB / 0.647 GB, free: 4.598 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.01697, allocations: 89.36 kB / 0.647 GB, free: 4.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.0171, allocations: 64.73 kB / 0.6471 GB, free: 4.434 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.01711, allocations: 4 kB / 0.6471 GB, free: 4.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.01714, allocations: 34.56 kB / 0.6471 GB, free: 4.387 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.01714, allocations: 3.938 kB / 0.6471 GB, free: 4.383 MB / 0.6043 GB Notification: Performance of matching and sorting (n=14): time 0.0003937/0.01753, allocations: 122.7 kB / 0.6473 GB, free: 4.254 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.01757, allocations: 59.34 kB / 0.6473 GB, free: 4.184 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.01776, allocations: 219.3 kB / 0.6475 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01779, allocations: 33.7 kB / 0.6476 GB, free: 3.918 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.0179, allocations: 200.1 kB / 0.6478 GB, free: 3.719 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01794, allocations: 51.53 kB / 0.6478 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01801, allocations: 53.86 kB / 0.6479 GB, free: 3.605 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.01812, allocations: 330.8 kB / 0.6482 GB, free: 3.273 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.01816, allocations: 16.47 kB / 0.6482 GB, free: 3.258 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.01826, allocations: 108.1 kB / 0.6483 GB, free: 3.113 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01843, allocations: 153.7 kB / 0.6484 GB, free: 2.922 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01843, allocations: 4 kB / 0.6484 GB, free: 2.918 MB / 0.6043 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003122/0.01874, allocations: 166 kB / 0.6486 GB, free: 2.742 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.01877, allocations: 8 kB / 0.6486 GB, free: 2.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.01878, allocations: 4 kB / 0.6486 GB, free: 2.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.01903, allocations: 33.22 kB / 0.6486 GB, free: 2.695 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01919, allocations: 51.91 kB / 0.6487 GB, free: 2.645 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.0201, allocations: 1.184 MB / 0.6498 GB, free: 1.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.02027, allocations: 27.78 kB / 0.6499 GB, free: 1.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.02029, allocations: 15.94 kB / 0.6499 GB, free: 1.324 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 0.0001444/0.02043, allocations: 120.6 kB / 0.65 GB, free: 1.195 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.02048, allocations: 23.97 kB / 0.65 GB, free: 1.172 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.02052, allocations: 21.47 kB / 0.65 GB, free: 1.152 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.02052, allocations: 0 / 0.65 GB, free: 1.152 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.02053, allocations: 4 kB / 0.65 GB, free: 1.148 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.02053, allocations: 3.984 kB / 0.6501 GB, free: 1.145 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/0.02127, allocations: 0.5839 MB / 0.6506 GB, free: 0.5039 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.02127, allocations: 4 kB / 0.6506 GB, free: 0.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/0.02134, allocations: 20 kB / 0.6506 GB, free: 492 kB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.02148, allocations: 37.02 kB / 0.6507 GB, free: 452 kB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.02149, allocations: 3.938 kB / 0.6507 GB, free: 448 kB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007901/0.02228, allocations: 1.194 MB / 0.6519 GB, free: 15.14 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02228, allocations: 0 / 0.6519 GB, free: 15.14 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.02255, allocations: 292.5 kB / 0.6521 GB, free: 14.82 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.02262, allocations: 31.97 kB / 0.6522 GB, free: 14.79 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.02264, allocations: 7.984 kB / 0.6522 GB, free: 14.78 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.02278, allocations: 12 kB / 0.6522 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.02281, allocations: 19.92 kB / 0.6522 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.02282, allocations: 4 kB / 0.6522 GB, free: 14.74 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.0229, allocations: 71.16 kB / 0.6523 GB, free: 14.67 MB / 0.6199 GB Notification: Performance of sort global known variables: time 5e-08/0.0229, allocations: 0 / 0.6523 GB, free: 14.67 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0004558/0.02336, allocations: 83.73 kB / 0.6524 GB, free: 14.59 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 0.0001343/0.02349, allocations: 88.34 kB / 0.6524 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.02384, allocations: 211.3 kB / 0.6526 GB, free: 14.27 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.02385, allocations: 4 kB / 0.6526 GB, free: 14.27 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.024, allocations: 160.2 kB / 0.6528 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.02439, allocations: 57.44 kB / 0.6528 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.02554, allocations: 0.5393 MB / 0.6534 GB, free: 13.45 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.02564, allocations: 104.3 kB / 0.6535 GB, free: 13.33 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.02575, allocations: 21.95 kB / 0.6535 GB, free: 13.3 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.0259, allocations: 91.34 kB / 0.6536 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of SimCode: time 1.302e-06/0.0259, allocations: 0 / 0.6536 GB, free: 13.21 MB / 0.6199 GB Notification: Performance of Templates: time 0.005852/0.03175, allocations: 2.64 MB / 0.6562 GB, free: 10.58 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 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.758627651724964]