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.0007677/0.0007677, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007631/0.0007631, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8711/0.8711, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:686: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-531:694: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.7023/0.7023, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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.673e-06/1.673e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.687e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005656/0.005683, allocations: 6.383 MB / 0.6256 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.009206, allocations: 2.997 MB / 0.6285 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003957/0.009602, allocations: 35.69 kB / 0.6285 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.01115, allocations: 0.9479 MB / 0.6295 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009402/0.01209, allocations: 0.5395 MB / 0.63 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.01287, allocations: 430.7 kB / 0.6304 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.01398, allocations: 1.267 MB / 0.6316 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.01469, allocations: 0.5294 MB / 0.6321 GB, free: 0 / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000824/0.01552, allocations: 0.6663 MB / 0.6328 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000585/0.0161, allocations: 478.7 kB / 0.6333 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.85e-05/0.01618, allocations: 68 kB / 0.6333 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.01672, allocations: 351.1 kB / 0.6337 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.01695, allocations: 327 kB / 0.634 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.01718, allocations: 311.2 kB / 0.6343 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01824, allocations: 1.246 MB / 0.6355 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.01824, allocations: 0 / 0.6355 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01825, allocations: 0 / 0.6355 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.01827, allocations: 0 / 0.6355 GB, free: 12.58 MB / 0.6042 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.001783/0.02005, allocations: 1.108 MB / 0.6366 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.02009, allocations: 8.031 kB / 0.6366 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008631/0.02095, allocations: 244.1 kB / 0.6368 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.02164, allocations: 0.5146 MB / 0.6373 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.02167, allocations: 53.67 kB / 0.6374 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.02174, allocations: 60.31 kB / 0.6374 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.02284, allocations: 1.34 MB / 0.6387 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02286, allocations: 12.08 kB / 0.6387 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.02291, allocations: 28.36 kB / 0.6388 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/0.02301, allocations: 89.19 kB / 0.6388 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.02376, allocations: 0.7504 MB / 0.6396 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.02699, allocations: 4.507 MB / 0.644 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.02764, allocations: 0.5087 MB / 0.6445 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.02791, allocations: 294.2 kB / 0.6448 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.02794, allocations: 4.5 kB / 0.6448 GB, free: 2.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.02796, allocations: 43 kB / 0.6448 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.02796, allocations: 0 / 0.6448 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002296/0.03026, allocations: 1.678 MB / 0.6464 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.03029, allocations: 55.91 kB / 0.6465 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.03068, allocations: 0.5105 MB / 0.647 GB, free: 356 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.03071, allocations: 33.7 kB / 0.647 GB, free: 316 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.0309, allocations: 431.9 kB / 0.6474 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.03099, allocations: 174.4 kB / 0.6476 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.03111, allocations: 126.6 kB / 0.6477 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.03121, allocations: 374.7 kB / 0.6481 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.03149, allocations: 277.8 kB / 0.6483 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.03187, allocations: 489 kB / 0.6488 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.03254, allocations: 0.8125 MB / 0.6496 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.03255, allocations: 4 kB / 0.6496 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001396/0.03394, allocations: 1.07 MB / 0.6507 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.03396, allocations: 8.875 kB / 0.6507 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.03397, allocations: 11.98 kB / 0.6507 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.03447, allocations: 287.1 kB / 0.6509 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.03473, allocations: 127.8 kB / 0.6511 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004157/0.03889, allocations: 6.582 MB / 0.6575 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.0392, allocations: 43.95 kB / 0.6575 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.03923, allocations: 31.94 kB / 0.6576 GB, free: 4.855 MB / 0.6198 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.0002555/0.03948, allocations: 250.5 kB / 0.6578 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.03954, allocations: 67.58 kB / 0.6579 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000946/0.04049, allocations: 0.8818 MB / 0.6587 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.04049, allocations: 4 kB / 0.6587 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.0405, allocations: 4 kB / 0.6587 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.0405, allocations: 0 / 0.6587 GB, free: 3.613 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.04205, allocations: 1.523 MB / 0.6602 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.04205, allocations: 0 / 0.6602 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.04218, allocations: 59.89 kB / 0.6603 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.0426, allocations: 279.2 kB / 0.6606 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.04262, allocations: 8 kB / 0.6606 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.04646, allocations: 6.58 MB / 0.667 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.04646, allocations: 3.938 kB / 0.667 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.04735, allocations: 0.9817 MB / 0.6679 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.04751, allocations: 115.5 kB / 0.6681 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.04755, allocations: 8 kB / 0.6681 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.04773, allocations: 27.97 kB / 0.6681 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.04782, allocations: 51.78 kB / 0.6681 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.04784, allocations: 16 kB / 0.6682 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002419/0.04808, allocations: 338.9 kB / 0.6685 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.04808, allocations: 0 / 0.6685 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005407/0.04862, allocations: 224 kB / 0.6687 GB, free: 8.895 MB / 0.6355 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.000124/0.04875, allocations: 119.1 kB / 0.6688 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.04998, allocations: 1.225 MB / 0.67 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.04998, allocations: 0 / 0.67 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.05091, allocations: 0.8696 MB / 0.6709 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.05148, allocations: 192.4 kB / 0.671 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.05296, allocations: 1.399 MB / 0.6724 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.05324, allocations: 415.3 kB / 0.6728 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.05335, allocations: 44.5 kB / 0.6728 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.05335, allocations: 0 / 0.6728 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of Templates: time 0.2329/0.2862, allocations: 20.68 MB / 0.693 GB, free: 94.12 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.928425346501172] Failed to read output from testmodel.py, exit status != 0: 0.2921523926779628 0.299377181 0.27937649000000003 Calling exit ...