Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001125/0.001125, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001021/0.001021, allocations: 173.2 kB / 23.19 MB, free: 1.367 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.9325/0.9325, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7381/0.7381, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 67.91 kB / 0.6196 GB, free: 13.13 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.5613/0.5623, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004865/0.5671, allocations: 4.213 MB / 0.7232 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003989/0.5711, allocations: 3.128 MB / 0.7263 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.5714, allocations: 16.97 kB / 0.7263 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5727, allocations: 0.5024 MB / 0.7268 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.5737, allocations: 403.4 kB / 0.7272 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.5743, allocations: 251.3 kB / 0.7274 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.5751, allocations: 0.6117 MB / 0.728 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.5756, allocations: 337 kB / 0.7283 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006193/0.5762, allocations: 408.7 kB / 0.7287 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.5767, allocations: 303.9 kB / 0.729 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.5767, allocations: 40.91 kB / 0.729 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005617/0.5773, allocations: 277.5 kB / 0.7293 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.5775, allocations: 169.7 kB / 0.7295 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.5776, allocations: 188 kB / 0.7297 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.5787, allocations: 0.8478 MB / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5787, allocations: 0 / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.5787, allocations: 0 / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5787, allocations: 1.781 kB / 0.7305 GB, free: 17.05 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001185/0.5799, allocations: 0.7138 MB / 0.7312 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5799, allocations: 9.438 kB / 0.7312 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.5819, allocations: 0.6771 MB / 0.7318 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00063/0.5825, allocations: 404.7 kB / 0.7322 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.5825, allocations: 21.41 kB / 0.7323 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.5826, allocations: 35.31 kB / 0.7323 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5838, allocations: 0.875 MB / 0.7331 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.5838, allocations: 5.297 kB / 0.7331 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.5839, allocations: 11.56 kB / 0.7332 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/0.584, allocations: 39.7 kB / 0.7332 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.5853, allocations: 0.8714 MB / 0.734 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.5883, allocations: 2.034 MB / 0.736 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.5894, allocations: 0.497 MB / 0.7365 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.5898, allocations: 261.3 kB / 0.7368 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.5899, allocations: 12.67 kB / 0.7368 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.5899, allocations: 33.64 kB / 0.7368 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.996e-06/0.5899, allocations: 0 / 0.7368 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.007461/0.5974, allocations: 3.162 MB / 0.7399 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.5974, allocations: 57.53 kB / 0.74 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.5978, allocations: 370 kB / 0.7403 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.5978, allocations: 34.92 kB / 0.7403 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.598, allocations: 248.3 kB / 0.7406 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.598, allocations: 88.77 kB / 0.7407 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.5982, allocations: 75.19 kB / 0.7407 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.5982, allocations: 343.5 kB / 0.7411 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006135/0.5988, allocations: 377.8 kB / 0.7414 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.5995, allocations: 477.7 kB / 0.7419 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.6007, allocations: 0.8053 MB / 0.7427 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6007, allocations: 0 / 0.7427 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003354/0.6041, allocations: 1.567 MB / 0.7442 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6041, allocations: 11.59 kB / 0.7442 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6041, allocations: 2.906 kB / 0.7442 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.6063, allocations: 0.8282 MB / 0.745 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.6067, allocations: 128.4 kB / 0.7451 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004124/0.6108, allocations: 4.804 MB / 0.7498 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.6113, allocations: 115.8 kB / 0.7499 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.6114, allocations: 14.23 kB / 0.75 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008076/0.6122, allocations: 0.5579 MB / 0.7505 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005702/0.6128, allocations: 464.9 kB / 0.7509 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001042/0.6138, allocations: 0.7754 MB / 0.7517 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.6138, allocations: 5.062 kB / 0.7517 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.002458/0.6163, allocations: 1.396 MB / 0.7531 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6163, allocations: 5.938 kB / 0.7531 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6163, allocations: 6.25 kB / 0.7531 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.6176, allocations: 0.6014 MB / 0.7537 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.6179, allocations: 127.6 kB / 0.7538 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/0.6211, allocations: 4.407 MB / 0.7581 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.6216, allocations: 119.5 kB / 0.7582 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.6216, allocations: 13.08 kB / 0.7582 GB, free: 1.934 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.6217, allocations: 198.5 kB / 0.7584 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.6218, allocations: 31.94 kB / 0.7584 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.6241, allocations: 1.416 MB / 0.7598 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6241, allocations: 0 / 0.7598 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6241, allocations: 0 / 0.7598 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.6243, allocations: 85.73 kB / 0.7599 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.6244, allocations: 6.688 kB / 0.7599 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.6246, allocations: 85.78 kB / 0.76 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6247, allocations: 25.27 kB / 0.76 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001796/0.6265, allocations: 1.223 MB / 0.7612 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001415/0.628, allocations: 1.146 MB / 0.7623 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00043/0.6284, allocations: 318.5 kB / 0.7626 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003092/0.6287, allocations: 279.4 kB / 0.7629 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of Backend: time 2.51e-07/0.6287, allocations: 4 kB / 0.7629 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.6315, allocations: 1.65 MB / 0.7645 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of SimCode: time 0.001638/0.6332, allocations: 1.431 MB / 0.7659 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.02091/0.6541, allocations: 17.31 MB / 0.7828 GB, free: 112 kB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6967649140860885] Failed to read output from testmodel.py, exit status != 0: 0.6605358519591391 0.6685963619999999 0.088217115 Calling exit ...