Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001403/0.001403, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001871/0.001871, allocations: 165 kB / 23.01 MB, free: 1.551 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 1.089/1.089, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8157/0.8157, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.814e-05, allocations: 3.219 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004727/0.004755, allocations: 4.794 MB / 0.525 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.007229, allocations: 1.694 MB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.007511, allocations: 35.69 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.008044, allocations: 212.9 kB / 0.5269 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.008622, allocations: 443.6 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.009183, allocations: 374.1 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.01022, allocations: 1.276 MB / 0.5289 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006025/0.01082, allocations: 0.5372 MB / 0.5294 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.01147, allocations: 0.6593 MB / 0.5301 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004731/0.01194, allocations: 475.7 kB / 0.5305 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.01202, allocations: 68 kB / 0.5306 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.01225, allocations: 148.5 kB / 0.5307 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.01245, allocations: 339 kB / 0.5311 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.01267, allocations: 314.3 kB / 0.5314 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.01328, allocations: 0.7435 MB / 0.5321 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.01328, allocations: 0 / 0.5321 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01328, allocations: 0 / 0.5321 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.0133, allocations: 0 / 0.5321 GB, free: 6.176 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001073/0.01437, allocations: 1.179 MB / 0.5332 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.0144, allocations: 8.031 kB / 0.5332 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008891/0.01529, allocations: 342 kB / 0.5336 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.01586, allocations: 0.5452 MB / 0.5341 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.01588, allocations: 45.67 kB / 0.5341 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.01595, allocations: 72.31 kB / 0.5342 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.01676, allocations: 1.08 MB / 0.5353 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.01678, allocations: 9.391 kB / 0.5353 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.01683, allocations: 32.38 kB / 0.5353 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.988e-05/0.01692, allocations: 89.19 kB / 0.5354 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.01739, allocations: 350.5 kB / 0.5357 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.02032, allocations: 5.72 MB / 0.5413 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.02079, allocations: 292.1 kB / 0.5416 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.02096, allocations: 135.6 kB / 0.5417 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.02099, allocations: 8.5 kB / 0.5417 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.02101, allocations: 45.88 kB / 0.5418 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 1.313e-06/0.02101, allocations: 0 / 0.5418 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001697/0.02271, allocations: 1.071 MB / 0.5428 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.02274, allocations: 59.84 kB / 0.5429 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.0231, allocations: 0.5297 MB / 0.5434 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.02313, allocations: 37.7 kB / 0.5434 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.02335, allocations: 471.2 kB / 0.5439 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.02345, allocations: 182.5 kB / 0.5441 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.02357, allocations: 129.7 kB / 0.5442 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.02371, allocations: 0.5391 MB / 0.5447 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.02388, allocations: 117.9 kB / 0.5448 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.02418, allocations: 425.9 kB / 0.5452 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/0.02468, allocations: 0.5761 MB / 0.5458 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02469, allocations: 4 kB / 0.5458 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009228/0.02561, allocations: 0.7439 MB / 0.5465 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.02563, allocations: 14.28 kB / 0.5465 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.02564, allocations: 8 kB / 0.5465 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.0264, allocations: 318.4 kB / 0.5468 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.02665, allocations: 129.3 kB / 0.547 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.03048, allocations: 7.606 MB / 0.5544 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.03073, allocations: 42.28 kB / 0.5544 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.03077, allocations: 31.94 kB / 0.5545 GB, free: 13.97 MB / 0.5261 GB 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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.03092, allocations: 197.5 kB / 0.5547 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.031, allocations: 91.56 kB / 0.5547 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.0317, allocations: 0.5438 MB / 0.5553 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.03171, allocations: 7.984 kB / 0.5553 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.03171, allocations: 4 kB / 0.5553 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.03171, allocations: 0 / 0.5553 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.03297, allocations: 1.161 MB / 0.5564 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.03297, allocations: 4.562 kB / 0.5564 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.03311, allocations: 61.44 kB / 0.5565 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/0.03376, allocations: 298.1 kB / 0.5568 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.03379, allocations: 15.98 kB / 0.5568 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.03732, allocations: 7.597 MB / 0.5642 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03732, allocations: 0 / 0.5642 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.03806, allocations: 0.7391 MB / 0.5649 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.0382, allocations: 107.5 kB / 0.565 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.03823, allocations: 11.94 kB / 0.565 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.0384, allocations: 27.97 kB / 0.5651 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.03848, allocations: 47.86 kB / 0.5651 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.0385, allocations: 16.69 kB / 0.5651 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002182/0.03872, allocations: 338.8 kB / 0.5654 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.03872, allocations: 2.375 kB / 0.5654 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005208/0.03924, allocations: 224 kB / 0.5657 GB, free: 1.848 MB / 0.5261 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 (31): * Single equations (assignments): 27 * 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%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001177/0.03936, allocations: 112.2 kB / 0.5658 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.04042, allocations: 1.193 MB / 0.5669 GB, free: 484 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.04043, allocations: 0 / 0.5669 GB, free: 484 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.04118, allocations: 0.9695 MB / 0.5679 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.04175, allocations: 203.2 kB / 0.5681 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.04339, allocations: 1.26 MB / 0.5693 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.04354, allocations: 211.3 kB / 0.5695 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002148/0.04376, allocations: 101.6 kB / 0.5696 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.04384, allocations: 43.41 kB / 0.5696 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of SimCode: time 5.51e-07/0.04384, allocations: 0 / 0.5696 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of Templates: time 0.01309/0.05693, allocations: 11.43 MB / 0.5808 GB, free: 2.438 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.232227761298418]