Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0008182/0.0008182, allocations: 76.45 kB / 19.9 MB, free: 16 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.0009732/0.0009732, allocations: 170.2 kB / 23.18 MB, free: 1.383 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.9196/0.9196, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7887/0.7887, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [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.001213/0.001213, allocations: 63.91 kB / 0.6195 GB, free: 13.12 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.4965/0.4977, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005951/0.5037, allocations: 5.853 MB / 0.7248 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.5086, allocations: 3.096 MB / 0.7278 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.5092, allocations: 40.88 kB / 0.7279 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.5106, allocations: 0.9304 MB / 0.7288 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.5119, allocations: 496.6 kB / 0.7293 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.5131, allocations: 496.5 kB / 0.7297 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.5144, allocations: 1.098 MB / 0.7308 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008272/0.5152, allocations: 0.5078 MB / 0.7313 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009298/0.5162, allocations: 0.6206 MB / 0.7319 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.5168, allocations: 470.2 kB / 0.7324 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.051e-05/0.5169, allocations: 58.53 kB / 0.7324 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.5178, allocations: 446 kB / 0.7328 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.5181, allocations: 294.3 kB / 0.7331 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.5185, allocations: 329.1 kB / 0.7334 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.5203, allocations: 1.191 MB / 0.7346 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5203, allocations: 1.438 kB / 0.7346 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5203, allocations: 0 / 0.7346 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.521e-05/0.5204, allocations: 0 / 0.7346 GB, free: 14.9 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001737/0.5221, allocations: 1.006 MB / 0.7356 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.5222, allocations: 10.05 kB / 0.7356 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5234, allocations: 225.8 kB / 0.7358 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.5241, allocations: 0.5104 MB / 0.7363 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.5242, allocations: 50.14 kB / 0.7364 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/0.5243, allocations: 61.86 kB / 0.7364 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.5254, allocations: 1.131 MB / 0.7375 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.5254, allocations: 16.5 kB / 0.7375 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.5255, allocations: 36.83 kB / 0.7376 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.364e-05/0.5256, allocations: 65.62 kB / 0.7376 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.5265, allocations: 0.6888 MB / 0.7383 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.5297, allocations: 4.394 MB / 0.7426 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.5304, allocations: 411.8 kB / 0.743 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.531, allocations: 398.1 kB / 0.7434 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.531, allocations: 8.219 kB / 0.7434 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.5311, allocations: 42.28 kB / 0.7434 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.5311, allocations: 0 / 0.7434 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.002947/0.534, allocations: 1.7 MB / 0.7451 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.534, allocations: 60.22 kB / 0.7451 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.5344, allocations: 435.4 kB / 0.7456 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.5345, allocations: 31.02 kB / 0.7456 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.5346, allocations: 399.2 kB / 0.746 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.5347, allocations: 157 kB / 0.7461 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.5348, allocations: 113 kB / 0.7462 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.5349, allocations: 358.2 kB / 0.7466 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.5352, allocations: 247.7 kB / 0.7468 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.5355, allocations: 456.4 kB / 0.7472 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.5362, allocations: 0.7431 MB / 0.748 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5362, allocations: 2.25 kB / 0.748 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001281/0.5374, allocations: 1.028 MB / 0.749 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.5375, allocations: 11.75 kB / 0.749 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5375, allocations: 6.875 kB / 0.749 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/0.5382, allocations: 319.1 kB / 0.7493 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.5384, allocations: 102.3 kB / 0.7494 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.5427, allocations: 6.929 MB / 0.7561 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.5431, allocations: 29.66 kB / 0.7562 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.5431, allocations: 26.84 kB / 0.7562 GB, free: 15.88 MB / 0.6511 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.5435, allocations: 249.4 kB / 0.7564 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.5436, allocations: 59.94 kB / 0.7565 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.5448, allocations: 0.8793 MB / 0.7574 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5448, allocations: 8.812 kB / 0.7574 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5448, allocations: 3.625 kB / 0.7574 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.5448, allocations: 3.453 kB / 0.7574 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001941/0.5467, allocations: 1.499 MB / 0.7588 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5468, allocations: 1.969 kB / 0.7588 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5469, allocations: 38.67 kB / 0.7589 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005738/0.5474, allocations: 313.9 kB / 0.7592 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5475, allocations: 7.25 kB / 0.7592 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/0.5521, allocations: 6.919 MB / 0.7659 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.5522, allocations: 10.41 kB / 0.7659 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.5536, allocations: 0.9744 MB / 0.7669 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.5538, allocations: 91.66 kB / 0.767 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.5538, allocations: 12.31 kB / 0.767 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.554, allocations: 24.22 kB / 0.767 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5541, allocations: 39.45 kB / 0.7671 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.5541, allocations: 13 kB / 0.7671 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002638/0.5544, allocations: 280.8 kB / 0.7673 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.5544, allocations: 0 / 0.7673 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007405/0.5551, allocations: 196 kB / 0.7675 GB, free: 7.711 MB / 0.6511 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001283/0.5553, allocations: 115.9 kB / 0.7676 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.5565, allocations: 1.169 MB / 0.7688 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5565, allocations: 1.438 kB / 0.7688 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.5573, allocations: 0.8201 MB / 0.7696 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.5579, allocations: 204.4 kB / 0.7698 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5595, allocations: 1.256 MB / 0.771 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.5599, allocations: 394.5 kB / 0.7714 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002372/0.5601, allocations: 91.02 kB / 0.7715 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.5602, allocations: 38.19 kB / 0.7715 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/0.5602, allocations: 0 / 0.7715 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of Templates: time 0.01544/0.5756, allocations: 10.33 MB / 0.7816 GB, free: 15.87 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.650600616005249] Failed to read output from testmodel.py, exit status != 0: 0.5837497889297083 0.59146614 0.068992253 Calling exit ...