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.0007995/0.0007995, allocations: 100.4 kB / 19.71 MB, free: 444 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.0008061/0.0008061, allocations: 210.9 kB / 23 MB, free: 2.973 MB / 13.93 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.9156/0.9156, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7805/0.7805, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [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.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: 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.001364/0.001364, allocations: 74.59 kB / 0.719 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4958, allocations: 102 MB / 0.8186 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003047/0.4988, allocations: 3.054 MB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.5007, allocations: 1.897 MB / 0.8234 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.5008, allocations: 11.22 kB / 0.8234 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.5014, allocations: 278.5 kB / 0.8237 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.5017, allocations: 193.8 kB / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.5021, allocations: 259.7 kB / 0.8241 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.5023, allocations: 320.3 kB / 0.8244 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.5026, allocations: 153 kB / 0.8246 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.5028, allocations: 140.6 kB / 0.8247 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.503, allocations: 149.3 kB / 0.8249 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.503, allocations: 20.78 kB / 0.8249 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.5034, allocations: 376 kB / 0.8252 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.5035, allocations: 88.7 kB / 0.8253 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.5036, allocations: 106.6 kB / 0.8254 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005233/0.5041, allocations: 0.4892 MB / 0.8259 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5041, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5041, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5041, allocations: 0 / 0.8259 GB, free: 13.25 MB / 0.6198 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.0006166/0.5047, allocations: 0.4958 MB / 0.8264 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.5048, allocations: 9.438 kB / 0.8264 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.5052, allocations: 109 kB / 0.8265 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.5055, allocations: 211.6 kB / 0.8267 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5055, allocations: 15.48 kB / 0.8267 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.5055, allocations: 17.06 kB / 0.8267 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.5062, allocations: 408.8 kB / 0.8271 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5062, allocations: 0.75 kB / 0.8271 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.5062, allocations: 6.312 kB / 0.8271 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.5062, allocations: 29.7 kB / 0.8271 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.5066, allocations: 288.4 kB / 0.8274 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.5078, allocations: 1.24 MB / 0.8286 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.5081, allocations: 240.6 kB / 0.8289 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5082, allocations: 104.3 kB / 0.829 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.58e-05/0.5083, allocations: 10.02 kB / 0.829 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5083, allocations: 42.02 kB / 0.829 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.5083, allocations: 0 / 0.829 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.00155/0.5099, allocations: 0.8859 MB / 0.8299 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5099, allocations: 84.23 kB / 0.83 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.5101, allocations: 211.9 kB / 0.8302 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5101, allocations: 31.72 kB / 0.8302 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.5102, allocations: 179.7 kB / 0.8304 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.5102, allocations: 80.3 kB / 0.8304 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/0.5103, allocations: 69.3 kB / 0.8305 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.5104, allocations: 329.2 kB / 0.8308 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5106, allocations: 127 kB / 0.8309 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5109, allocations: 209.4 kB / 0.8311 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.5112, allocations: 374 kB / 0.8315 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5112, allocations: 1.031 kB / 0.8315 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005646/0.5118, allocations: 0.4998 MB / 0.832 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5118, allocations: 6.781 kB / 0.832 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5118, allocations: 2.125 kB / 0.832 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.5121, allocations: 160.2 kB / 0.8321 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5123, allocations: 57 kB / 0.8322 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.5143, allocations: 3.935 MB / 0.836 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/0.5144, allocations: 26.7 kB / 0.8361 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.5144, allocations: 11 kB / 0.8361 GB, free: 5.543 MB / 0.6198 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.0001091/0.5145, allocations: 166.7 kB / 0.8362 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.5145, allocations: 30.33 kB / 0.8363 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005552/0.5151, allocations: 465.7 kB / 0.8367 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5151, allocations: 7.109 kB / 0.8367 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.5151, allocations: 5.406 kB / 0.8367 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5151, allocations: 2.672 kB / 0.8367 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.5163, allocations: 0.8948 MB / 0.8376 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.5163, allocations: 2.094 kB / 0.8376 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.5164, allocations: 34.03 kB / 0.8376 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/0.5166, allocations: 143.7 kB / 0.8378 GB, free: 4.527 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5166, allocations: 12.41 kB / 0.8378 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.5183, allocations: 3.899 MB / 0.8416 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5183, allocations: 3.812 kB / 0.8416 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005312/0.5188, allocations: 0.6285 MB / 0.8422 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.5189, allocations: 48.38 kB / 0.8423 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5189, allocations: 5.859 kB / 0.8423 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5191, allocations: 17.61 kB / 0.8423 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.5191, allocations: 32.09 kB / 0.8423 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5191, allocations: 17.34 kB / 0.8423 GB, free: 364 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000106/0.5192, allocations: 152.4 kB / 0.8425 GB, free: 264 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5192, allocations: 0 / 0.8425 GB, free: 264 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003209/0.5195, allocations: 94.64 kB / 0.8426 GB, free: 248 kB / 0.6198 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.0001596/0.5197, allocations: 141.5 kB / 0.8427 GB, free: 132 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006471/0.5203, allocations: 0.5618 MB / 0.8432 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5203, allocations: 5.219 kB / 0.8432 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.5207, allocations: 392.2 kB / 0.8436 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.521, allocations: 47.44 kB / 0.8437 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.5218, allocations: 0.6658 MB / 0.8443 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.5219, allocations: 183.1 kB / 0.8445 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.522, allocations: 22.44 kB / 0.8445 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.522, allocations: 0 / 0.8445 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.007448/0.5294, allocations: 7.786 MB / 0.8521 GB, free: 11.2 MB / 0.6355 GB " [Timeout remaining time 659] 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: 6.864456051029265] Failed to read output from testmodel.py, exit status != 0: 0.535955011844635 0.544839203 0.038429326 Calling exit ...