Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json 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.000665/0.000665, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008422/0.001507, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006933/0.0006933, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008667/0.00156, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9637/0.9637, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09635/1.06, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7791/0.7791, allocations: 154.6 MB / 398.5 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.323/1.102, allocations: 49.03 MB / 447.6 MB, free: 6.715 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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) Running command: translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 448.9 MB, free: 5.434 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.38e-05, allocations: 4.703 kB / 448.9 MB, free: 5.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006466/0.00649, allocations: 7.851 MB / 456.7 MB, free: 13.61 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.01341, allocations: 6.033 MB / 462.8 MB, free: 7.605 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.01396, allocations: 76.03 kB / 462.8 MB, free: 7.531 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.0146, allocations: 393.8 kB / 463.2 MB, free: 7.145 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.01684, allocations: 1.521 MB / 464.7 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.01768, allocations: 0.5658 MB / 465.3 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.01983, allocations: 2.519 MB / 467.8 MB, free: 2.547 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.02101, allocations: 1.138 MB / 469 MB, free: 1.363 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.02267, allocations: 1.71 MB / 470.7 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.02373, allocations: 0.9361 MB / 471.6 MB, free: 14.72 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.0239, allocations: 132 kB / 471.7 MB, free: 14.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004729/0.02437, allocations: 303.5 kB / 472 MB, free: 14.3 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003294/0.0247, allocations: 0.5383 MB / 472.6 MB, free: 13.76 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.02512, allocations: 0.5029 MB / 473.1 MB, free: 13.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.0262, allocations: 1.336 MB / 474.4 MB, free: 11.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.02621, allocations: 0 / 474.4 MB, free: 11.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02622, allocations: 0 / 474.4 MB, free: 11.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.991e-05/0.02627, allocations: 0.6562 kB / 474.4 MB, free: 11.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001992/0.02826, allocations: 2.214 MB / 476.6 MB, free: 9.672 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.02829, allocations: 12.03 kB / 476.6 MB, free: 9.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.03096, allocations: 0.8675 MB / 477.5 MB, free: 8.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.03203, allocations: 1.023 MB / 478.5 MB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/0.03208, allocations: 87.33 kB / 478.6 MB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.03222, allocations: 128.3 kB / 478.7 MB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.03364, allocations: 1.538 MB / 480.3 MB, free: 5.773 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.03367, allocations: 17.88 kB / 480.3 MB, free: 5.758 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.03376, allocations: 51.98 kB / 480.3 MB, free: 5.707 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/0.0339, allocations: 106.2 kB / 480.4 MB, free: 5.602 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.03454, allocations: 0.5217 MB / 481 MB, free: 5.078 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004134/0.03868, allocations: 5.32 MB / 486.3 MB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.03941, allocations: 404.2 kB / 486.7 MB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.03962, allocations: 161.4 kB / 486.8 MB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.03964, allocations: 9.344 kB / 486.9 MB, free: 15.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.03967, allocations: 43.06 kB / 486.9 MB, free: 15.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 1.963e-06/0.03967, allocations: 4.5 kB / 486.9 MB, free: 15.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=54): time 0.003245/0.04291, allocations: 1.821 MB / 488.7 MB, free: 13.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.04295, allocations: 65.34 kB / 488.8 MB, free: 13.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.04346, allocations: 0.8433 MB / 489.6 MB, free: 12.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.04351, allocations: 37.7 kB / 489.7 MB, free: 12.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.04374, allocations: 0.5994 MB / 490.3 MB, free: 11.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.04385, allocations: 194.8 kB / 490.5 MB, free: 11.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.04403, allocations: 151.3 kB / 490.6 MB, free: 11.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.0441, allocations: 333.9 kB / 490.9 MB, free: 10.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.04429, allocations: 148.1 kB / 491.1 MB, free: 10.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.04457, allocations: 384.6 kB / 491.4 MB, free: 10.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.04507, allocations: 0.5703 MB / 492 MB, free: 9.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.04508, allocations: 1.688 kB / 492 MB, free: 9.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009961/0.04607, allocations: 0.7943 MB / 492.8 MB, free: 8.895 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.04609, allocations: 11.94 kB / 492.8 MB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.0461, allocations: 8 kB / 492.8 MB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007513/0.04685, allocations: 346.5 kB / 493.2 MB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.04741, allocations: 218.6 kB / 493.4 MB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.05046, allocations: 5.436 MB / 498.8 MB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.05088, allocations: 50.34 kB / 498.9 MB, free: 2.469 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.05094, allocations: 31.97 kB / 498.9 MB, free: 2.438 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.05115, allocations: 161.9 kB / 499.1 MB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.05127, allocations: 95.83 kB / 499.2 MB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.05231, allocations: 0.7418 MB / 499.9 MB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.05232, allocations: 8 kB / 499.9 MB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.05232, allocations: 7.984 kB / 499.9 MB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.05233, allocations: 0 / 499.9 MB, free: 1.418 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.05406, allocations: 1.414 MB / 0.4896 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.05406, allocations: 0 / 0.4896 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.0545, allocations: 142.6 kB / 0.4897 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.05472, allocations: 203 kB / 0.4899 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/0.05542, allocations: 339.2 kB / 0.4902 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.05546, allocations: 19.97 kB / 0.4902 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.05853, allocations: 5.435 MB / 0.4956 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.05853, allocations: 0 / 0.4956 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.0595, allocations: 0.7878 MB / 0.4963 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.606e-05/0.0596, allocations: 13.59 kB / 0.4963 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.05997, allocations: 35.97 kB / 0.4964 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.06005, allocations: 52.34 kB / 0.4964 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.06009, allocations: 20.69 kB / 0.4964 GB, free: 8.508 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.06035, allocations: 420.6 kB / 0.4968 GB, free: 8.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.06035, allocations: 7.375 kB / 0.4968 GB, free: 8.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.06099, allocations: 352 kB / 0.4972 GB, free: 7.742 MB / 490.7 MB 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.06116, allocations: 104.2 kB / 0.4973 GB, free: 7.629 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.0622, allocations: 1.072 MB / 0.4983 GB, free: 6.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/0.06223, allocations: 18.31 kB / 0.4983 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.0629, allocations: 0.8193 MB / 0.4991 GB, free: 5.621 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.06386, allocations: 0.5751 MB / 0.4997 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00759/0.07145, allocations: 2.341 MB / 0.502 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.07169, allocations: 336.5 kB / 0.5023 GB, free: 2.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006462/0.07233, allocations: 271.7 kB / 0.5026 GB, free: 2.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/0.07302, allocations: 395 kB / 0.503 GB, free: 1.676 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.07302, allocations: 0 / 0.503 GB, free: 1.676 MB / 490.7 MB Notification: Performance of Templates: time 0.02768/0.1007, allocations: 27.36 MB / 0.5297 GB, free: 6.984 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1032961225137115]