Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001309/0.001309, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001485/0.001485, allocations: 166 kB / 22.46 MB, free: 5.359 MB / 14.72 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 178] 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.73e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005193/0.005221, allocations: 3.028 MB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003388/0.008609, allocations: 1.873 MB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.008797, allocations: 7.938 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.009903, allocations: 282.8 kB / 0.6236 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.01051, allocations: 198.9 kB / 0.6238 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.01126, allocations: 266.5 kB / 0.6241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000513/0.01177, allocations: 330.8 kB / 0.6244 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.01212, allocations: 149.1 kB / 0.6245 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.01248, allocations: 187.5 kB / 0.6247 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.01281, allocations: 135.6 kB / 0.6248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.01286, allocations: 20 kB / 0.6248 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000697/0.01355, allocations: 391 kB / 0.6252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.01369, allocations: 91.72 kB / 0.6253 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.01381, allocations: 79.83 kB / 0.6254 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009123/0.01473, allocations: 0.5181 MB / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01473, allocations: 0 / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01473, allocations: 3.938 kB / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.01474, allocations: 0 / 0.6259 GB, free: 13.05 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001068/0.01581, allocations: 0.5009 MB / 0.6264 GB, free: 12.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.01585, allocations: 9.469 kB / 0.6264 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.01673, allocations: 112.7 kB / 0.6265 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.01712, allocations: 208.8 kB / 0.6267 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.01715, allocations: 20.86 kB / 0.6267 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.01719, allocations: 16.38 kB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.01784, allocations: 405 kB / 0.6271 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01786, allocations: 4.172 kB / 0.6271 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.01789, allocations: 4.375 kB / 0.6271 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.01794, allocations: 36.42 kB / 0.6272 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005354/0.01848, allocations: 293.7 kB / 0.6274 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.02055, allocations: 1.23 MB / 0.6286 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.02105, allocations: 247.7 kB / 0.6289 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.02123, allocations: 97.67 kB / 0.629 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.139e-05/0.02131, allocations: 11.98 kB / 0.629 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.02135, allocations: 34.56 kB / 0.629 GB, free: 9.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.02135, allocations: 4 kB / 0.629 GB, free: 9.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002713/0.02406, allocations: 0.8885 MB / 0.6299 GB, free: 8.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.02412, allocations: 77.11 kB / 0.63 GB, free: 8.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.02438, allocations: 220.6 kB / 0.6302 GB, free: 8.445 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.02442, allocations: 29.7 kB / 0.6302 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.02455, allocations: 176.4 kB / 0.6304 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.642e-05/0.02463, allocations: 83.33 kB / 0.6304 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.02475, allocations: 65.64 kB / 0.6305 GB, free: 8.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.02491, allocations: 330.8 kB / 0.6308 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.02519, allocations: 127.9 kB / 0.6309 GB, free: 7.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.02556, allocations: 224.7 kB / 0.6312 GB, free: 7.375 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.02609, allocations: 361.6 kB / 0.6315 GB, free: 6.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.0261, allocations: 4 kB / 0.6315 GB, free: 6.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001001/0.0271, allocations: 0.5043 MB / 0.632 GB, free: 6.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.02712, allocations: 4 kB / 0.632 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.02712, allocations: 7.938 kB / 0.632 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.0277, allocations: 155.6 kB / 0.6322 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.02797, allocations: 55.91 kB / 0.6322 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.03169, allocations: 3.93 MB / 0.636 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.03189, allocations: 15.98 kB / 0.6361 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.03192, allocations: 8 kB / 0.6361 GB, free: 2.023 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.03214, allocations: 179 kB / 0.6362 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.03222, allocations: 23.8 kB / 0.6363 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.03321, allocations: 475.9 kB / 0.6367 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.03322, allocations: 4 kB / 0.6367 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.03323, allocations: 0 / 0.6367 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.03323, allocations: 4 kB / 0.6367 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.03497, allocations: 0.8864 MB / 0.6376 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.03497, allocations: 0 / 0.6376 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.03512, allocations: 35.92 kB / 0.6376 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.03558, allocations: 143.5 kB / 0.6378 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.03561, allocations: 12 kB / 0.6378 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003468/0.03908, allocations: 3.907 MB / 0.6416 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.03908, allocations: 4.031 kB / 0.6416 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.03998, allocations: 0.6225 MB / 0.6422 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.0401, allocations: 47.83 kB / 0.6422 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.04014, allocations: 4 kB / 0.6422 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.04037, allocations: 24.14 kB / 0.6423 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.04044, allocations: 27.89 kB / 0.6423 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.04046, allocations: 15.94 kB / 0.6423 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001554/0.04062, allocations: 152.2 kB / 0.6425 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.04062, allocations: 0 / 0.6425 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000544/0.04116, allocations: 91.88 kB / 0.6425 GB, free: 10.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002765/0.04144, allocations: 159 kB / 0.6427 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.04248, allocations: 0.5545 MB / 0.6432 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.04248, allocations: 0 / 0.6432 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/0.04305, allocations: 394.3 kB / 0.6436 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.04358, allocations: 43.75 kB / 0.6437 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.0447, allocations: 0.6106 MB / 0.6443 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.04491, allocations: 173.1 kB / 0.6444 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001661/0.04508, allocations: 62.22 kB / 0.6445 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.04513, allocations: 28.5 kB / 0.6445 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.04513, allocations: 3.938 kB / 0.6445 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of Templates: time 0.009703/0.05484, allocations: 4.139 MB / 0.6486 GB, free: 4.766 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.813020389527082] Failed to read output from testmodel.py, exit status != 0: 0.06414040923118591 0.078774283 0.06093653500000001 Calling exit ...