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.0009653/0.0009653, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001522/0.001522, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.1 MB / 203.8 MB, free: 5.473 MB / 186.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.7724/0.7724, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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. " [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.783e-06/1.783e-06, allocations: 0 / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.818e-06/1.16e-05, allocations: 2.312 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.005926/0.005937, allocations: 7.652 MB / 487.6 MB, free: 15.29 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006454/0.01239, allocations: 5.919 MB / 493.6 MB, free: 9.395 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.01297, allocations: 79.91 kB / 493.6 MB, free: 9.316 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.01369, allocations: 374.6 kB / 494 MB, free: 8.949 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.01578, allocations: 1.435 MB / 495.4 MB, free: 7.527 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007838/0.01656, allocations: 0.569 MB / 496 MB, free: 6.961 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.01842, allocations: 2.369 MB / 498.4 MB, free: 4.586 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.01949, allocations: 1.211 MB / 499.6 MB, free: 3.328 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.02088, allocations: 1.555 MB / 0.4894 GB, free: 1.773 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007503/0.02163, allocations: 0.8549 MB / 0.4902 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.02175, allocations: 132.9 kB / 0.4904 GB, free: 0.793 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.02211, allocations: 291.6 kB / 0.4906 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.02244, allocations: 0.5933 MB / 0.4912 GB, free: 15.91 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.02285, allocations: 0.5845 MB / 0.4918 GB, free: 15.33 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009794/0.02383, allocations: 1.409 MB / 0.4932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.02384, allocations: 0 / 0.4932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02384, allocations: 0.9062 kB / 0.4932 GB, free: 13.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.02385, allocations: 0 / 0.4932 GB, free: 13.91 MB / 474.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.001532/0.02538, allocations: 1.854 MB / 0.495 GB, free: 12.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.02541, allocations: 8.031 kB / 0.495 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.02807, allocations: 0.7857 MB / 0.4958 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.0291, allocations: 1.024 MB / 0.4968 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.02915, allocations: 90.69 kB / 0.4968 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.02929, allocations: 120.3 kB / 0.497 GB, free: 9.973 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.03073, allocations: 1.541 MB / 0.4985 GB, free: 8.238 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.03075, allocations: 11.88 kB / 0.4985 GB, free: 8.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.03085, allocations: 44.59 kB / 0.4985 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.03099, allocations: 110.2 kB / 0.4986 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.03164, allocations: 0.5246 MB / 0.4991 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/0.03595, allocations: 5.302 MB / 0.5043 GB, free: 2.113 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.03671, allocations: 398.6 kB / 0.5047 GB, free: 1.723 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.03693, allocations: 160.6 kB / 0.5048 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.03696, allocations: 13.69 kB / 0.5049 GB, free: 1.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.03698, allocations: 43.06 kB / 0.5049 GB, free: 1.504 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 1.653e-06/0.03698, allocations: 3.938 kB / 0.5049 GB, free: 1.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=54): time 0.003346/0.04033, allocations: 1.821 MB / 0.5067 GB, free: 15.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.04035, allocations: 66.75 kB / 0.5067 GB, free: 15.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.04088, allocations: 0.8356 MB / 0.5076 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.04093, allocations: 37.7 kB / 0.5076 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.04118, allocations: 0.6072 MB / 0.5082 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.0413, allocations: 190.3 kB / 0.5084 GB, free: 13.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.04148, allocations: 150.5 kB / 0.5085 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.04156, allocations: 337.9 kB / 0.5088 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.04176, allocations: 149.9 kB / 0.509 GB, free: 13.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.04205, allocations: 375.4 kB / 0.5093 GB, free: 12.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.04281, allocations: 0.5742 MB / 0.5099 GB, free: 12.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.04282, allocations: 0 / 0.5099 GB, free: 12.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001028/0.04384, allocations: 0.8024 MB / 0.5107 GB, free: 11.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.04386, allocations: 12.44 kB / 0.5107 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.04387, allocations: 8.844 kB / 0.5107 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/0.04463, allocations: 342.5 kB / 0.511 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.04509, allocations: 168.3 kB / 0.5112 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.04815, allocations: 5.429 MB / 0.5165 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.04858, allocations: 47.97 kB / 0.5165 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.04864, allocations: 37.03 kB / 0.5166 GB, free: 4.977 MB / 490.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.0002416/0.04888, allocations: 154.2 kB / 0.5167 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.04901, allocations: 99.83 kB / 0.5168 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.05007, allocations: 0.749 MB / 0.5175 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.05007, allocations: 10.8 kB / 0.5176 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.05008, allocations: 5.969 kB / 0.5176 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.05008, allocations: 0 / 0.5176 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.05183, allocations: 1.409 MB / 0.5189 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.05184, allocations: 8 kB / 0.5189 GB, free: 2.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.05218, allocations: 101.3 kB / 0.519 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/0.05289, allocations: 331.2 kB / 0.5194 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.05294, allocations: 27.91 kB / 0.5194 GB, free: 2.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.05585, allocations: 5.418 MB / 0.5247 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.05585, allocations: 3.938 kB / 0.5247 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.0568, allocations: 0.7923 MB / 0.5255 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.05704, allocations: 203.1 kB / 0.5256 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.05714, allocations: 15.98 kB / 0.5257 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.05751, allocations: 33.7 kB / 0.5257 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.05758, allocations: 52.41 kB / 0.5257 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.05762, allocations: 23.91 kB / 0.5258 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002796/0.0579, allocations: 421.1 kB / 0.5262 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.0579, allocations: 0 / 0.5262 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006352/0.05854, allocations: 352.5 kB / 0.5265 GB, free: 10.33 MB / 0.4948 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 (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.0001679/0.05871, allocations: 99.11 kB / 0.5266 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.05979, allocations: 1.079 MB / 0.5277 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/0.0598, allocations: 20.56 kB / 0.5277 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.06048, allocations: 0.8037 MB / 0.5285 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009581/0.06143, allocations: 483.3 kB / 0.5289 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.06392, allocations: 2.269 MB / 0.5311 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.06415, allocations: 340.5 kB / 0.5315 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005853/0.06473, allocations: 275.9 kB / 0.5317 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.06541, allocations: 391 kB / 0.5321 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.06541, allocations: 0 / 0.5321 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.02743/0.09284, allocations: 26.49 MB / 0.558 GB, free: 10.6 MB / 0.5261 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.0159617443569005]