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.06114/0.06114, allocations: 9.131 MB / 28.99 MB, free: 0.8281 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.001367/0.001367, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001821/0.001821, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.9897/0.9897, 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.004246/0.004246, allocations: 0.8332 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.737/1.737, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.343e-06/1.343e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.189e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.DC.Lines.Examples.Resistance): time 0.003027/0.003049, allocations: 2.604 MB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004242, allocations: 1.005 MB / 0.6414 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.004391, allocations: 4 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.004819, allocations: 103.4 kB / 0.6415 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.005024, allocations: 139.1 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.005203, allocations: 103.7 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005479, allocations: 318.9 kB / 0.642 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.005699, allocations: 182 kB / 0.6422 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.005843, allocations: 175.6 kB / 0.6424 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.006058, allocations: 123.6 kB / 0.6425 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.006082, allocations: 16 kB / 0.6425 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.00622, allocations: 91.73 kB / 0.6426 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.006289, allocations: 87.73 kB / 0.6427 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.006351, allocations: 83.81 kB / 0.6427 GB, free: 9.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.006583, allocations: 219.3 kB / 0.643 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.006585, allocations: 0 / 0.643 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006586, allocations: 4 kB / 0.643 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00659, allocations: 7.984 kB / 0.643 GB, free: 8.863 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.0004468/0.007037, allocations: 416.1 kB / 0.6434 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.007068, allocations: 15.98 kB / 0.6434 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003882/0.007456, allocations: 104.8 kB / 0.6435 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.007644, allocations: 185.4 kB / 0.6437 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.007658, allocations: 12.75 kB / 0.6437 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.007678, allocations: 20.38 kB / 0.6437 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.007916, allocations: 279.8 kB / 0.644 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.007926, allocations: 192 / 0.644 GB, free: 7.762 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.007941, allocations: 8.375 kB / 0.644 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.007969, allocations: 20.31 kB / 0.644 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.89e-05/0.008048, allocations: 59.97 kB / 0.644 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.008735, allocations: 0.9002 MB / 0.6449 GB, free: 6.723 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.008844, allocations: 65.3 kB / 0.645 GB, free: 6.648 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.008866, allocations: 16.84 kB / 0.645 GB, free: 6.629 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.008873, allocations: 4 kB / 0.645 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.008891, allocations: 30.56 kB / 0.645 GB, free: 6.586 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.008892, allocations: 0 / 0.645 GB, free: 6.586 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0002154/0.009108, allocations: 106.5 kB / 0.6451 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.009131, allocations: 51.41 kB / 0.6452 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.009225, allocations: 174.5 kB / 0.6453 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.009235, allocations: 25.7 kB / 0.6454 GB, free: 6.195 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.009294, allocations: 167.9 kB / 0.6455 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.009309, allocations: 31.73 kB / 0.6456 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.009348, allocations: 33.69 kB / 0.6456 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.009417, allocations: 322.8 kB / 0.6459 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.009434, allocations: 12 kB / 0.6459 GB, free: 5.621 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.009484, allocations: 80.56 kB / 0.646 GB, free: 5.512 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.771e-05/0.009562, allocations: 107.2 kB / 0.6461 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.009563, allocations: 0 / 0.6461 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001341/0.009697, allocations: 134.1 kB / 0.6462 GB, free: 5.234 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.009708, allocations: 8 kB / 0.6462 GB, free: 5.227 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.009715, allocations: 8 kB / 0.6462 GB, free: 5.219 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.009849, allocations: 33.11 kB / 0.6463 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.00991, allocations: 31.92 kB / 0.6463 GB, free: 5.152 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005653/0.01048, allocations: 1.19 MB / 0.6475 GB, free: 3.867 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.01054, allocations: 23.83 kB / 0.6475 GB, free: 3.844 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.01054, allocations: 4 kB / 0.6475 GB, free: 3.84 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 6.679e-05/0.01061, allocations: 124.7 kB / 0.6476 GB, free: 3.707 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.01063, allocations: 11.98 kB / 0.6476 GB, free: 3.695 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.01065, allocations: 21.44 kB / 0.6476 GB, free: 3.676 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01065, allocations: 4 kB / 0.6476 GB, free: 3.672 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01065, allocations: 0 / 0.6476 GB, free: 3.672 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01065, allocations: 3.938 kB / 0.6476 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.01086, allocations: 251.6 kB / 0.6479 GB, free: 3.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01086, allocations: 3.938 kB / 0.6479 GB, free: 3.391 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.01088, allocations: 15.92 kB / 0.6479 GB, free: 3.375 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.213e-05/0.01097, allocations: 32.84 kB / 0.6479 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.01097, allocations: 3.938 kB / 0.6479 GB, free: 3.336 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.01145, allocations: 1.178 MB / 0.6491 GB, free: 2.051 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01145, allocations: 4.031 kB / 0.6491 GB, free: 2.047 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.01155, allocations: 175.1 kB / 0.6493 GB, free: 1.855 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.01157, allocations: 15.91 kB / 0.6493 GB, free: 1.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.01158, allocations: 0 / 0.6493 GB, free: 1.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.564e-05/0.01163, allocations: 11.92 kB / 0.6493 GB, free: 1.828 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.01165, allocations: 8 kB / 0.6493 GB, free: 1.82 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.01165, allocations: 0 / 0.6493 GB, free: 1.82 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.01169, allocations: 45.86 kB / 0.6493 GB, free: 1.773 MB / 0.6043 GB Notification: Performance of sort global known variables: time 3e-08/0.01169, allocations: 0 / 0.6493 GB, free: 1.773 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001722/0.01186, allocations: 51.89 kB / 0.6494 GB, free: 1.723 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 6.468e-05/0.01192, allocations: 88.41 kB / 0.6495 GB, free: 1.629 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01211, allocations: 171.3 kB / 0.6496 GB, free: 1.445 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.01212, allocations: 4 kB / 0.6496 GB, free: 1.441 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.01219, allocations: 140 kB / 0.6498 GB, free: 1.289 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.01236, allocations: 35.86 kB / 0.6498 GB, free: 1.254 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.01291, allocations: 355.2 kB / 0.6501 GB, free: 0.875 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.946e-05/0.01296, allocations: 87.97 kB / 0.6502 GB, free: 0.7695 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.647e-05/0.01301, allocations: 17.47 kB / 0.6502 GB, free: 0.7539 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.01309, allocations: 75.36 kB / 0.6503 GB, free: 0.6797 MB / 0.6043 GB Notification: Performance of SimCode: time 6.41e-07/0.01309, allocations: 0 / 0.6503 GB, free: 0.6797 MB / 0.6043 GB Notification: Performance of Templates: time 0.003308/0.0164, allocations: 1.791 MB / 0.6521 GB, free: 14.9 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.524900964926928]