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.001107/0.001107, 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.001374/0.001374, allocations: 165.9 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.9185/0.9185, 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.7756/0.7756, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.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.0009685/0.0009685, allocations: 67.91 kB / 0.6195 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.5017/0.5026, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004322/0.507, allocations: 3.032 MB / 0.722 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.5095, allocations: 1.88 MB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.5097, allocations: 7.344 kB / 0.7239 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008301/0.5105, allocations: 291.9 kB / 0.7242 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.511, allocations: 194.6 kB / 0.7243 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.5117, allocations: 263.9 kB / 0.7246 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.5122, allocations: 317 kB / 0.7249 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.5126, allocations: 163.5 kB / 0.7251 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.5129, allocations: 194 kB / 0.7252 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.5133, allocations: 149.3 kB / 0.7254 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.5133, allocations: 20.28 kB / 0.7254 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.5142, allocations: 376.1 kB / 0.7258 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.5143, allocations: 91.69 kB / 0.7259 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.5144, allocations: 96.05 kB / 0.7259 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009085/0.5153, allocations: 0.4998 MB / 0.7264 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5153, allocations: 0 / 0.7264 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5153, allocations: 0.6562 kB / 0.7264 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.5153, allocations: 4 kB / 0.7264 GB, free: 19.35 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008715/0.5162, allocations: 0.4958 MB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5163, allocations: 9.75 kB / 0.7269 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.5168, allocations: 110.7 kB / 0.727 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5171, allocations: 200 kB / 0.7272 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5172, allocations: 20.11 kB / 0.7272 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.5172, allocations: 26.42 kB / 0.7273 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.5177, allocations: 404.6 kB / 0.7277 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5178, allocations: 0 / 0.7277 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.5178, allocations: 11.41 kB / 0.7277 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.146e-05/0.5178, allocations: 21.55 kB / 0.7277 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.5183, allocations: 298.5 kB / 0.728 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.5199, allocations: 1.223 MB / 0.7292 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.5203, allocations: 244.8 kB / 0.7294 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.5205, allocations: 99.38 kB / 0.7295 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/0.5205, allocations: 10.08 kB / 0.7295 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5206, allocations: 41.69 kB / 0.7295 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.5206, allocations: 7.984 kB / 0.7296 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001956/0.5225, allocations: 0.8874 MB / 0.7304 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.5226, allocations: 81.89 kB / 0.7305 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5227, allocations: 214.3 kB / 0.7307 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.5228, allocations: 29.7 kB / 0.7307 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.5228, allocations: 172.5 kB / 0.7309 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.5229, allocations: 93 kB / 0.731 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.523, allocations: 64.16 kB / 0.731 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.523, allocations: 330.5 kB / 0.7314 GB, free: 16.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5232, allocations: 131.3 kB / 0.7315 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.5234, allocations: 211.2 kB / 0.7317 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.5237, allocations: 368.4 kB / 0.732 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5237, allocations: 0.75 kB / 0.732 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006634/0.5244, allocations: 0.5086 MB / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5244, allocations: 6.016 kB / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5244, allocations: 2.75 kB / 0.7325 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/0.5248, allocations: 151.4 kB / 0.7327 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.525, allocations: 58.27 kB / 0.7327 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.527, allocations: 3.946 MB / 0.7366 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.5272, allocations: 22.62 kB / 0.7366 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.5272, allocations: 15.83 kB / 0.7366 GB, free: 11.64 MB / 0.6355 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.0001434/0.5273, allocations: 157.4 kB / 0.7368 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.5274, allocations: 27.84 kB / 0.7368 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006293/0.528, allocations: 470.2 kB / 0.7373 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.528, allocations: 3.375 kB / 0.7373 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.528, allocations: 5.406 kB / 0.7373 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.528, allocations: 1.406 kB / 0.7373 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5291, allocations: 0.9007 MB / 0.7381 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/0.5291, allocations: 2.688 kB / 0.7381 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.5292, allocations: 33.75 kB / 0.7382 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.5294, allocations: 144.6 kB / 0.7383 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5294, allocations: 8.812 kB / 0.7383 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/0.5309, allocations: 3.886 MB / 0.7421 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.5309, allocations: 11.06 kB / 0.7421 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005787/0.5315, allocations: 0.6169 MB / 0.7427 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.5316, allocations: 53.33 kB / 0.7428 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.5316, allocations: 8.688 kB / 0.7428 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5318, allocations: 19.28 kB / 0.7428 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.5318, allocations: 30.91 kB / 0.7428 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.5318, allocations: 8.359 kB / 0.7429 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001101/0.5319, allocations: 157.1 kB / 0.743 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5319, allocations: 0 / 0.743 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004757/0.5324, allocations: 93.03 kB / 0.7431 GB, free: 6.355 MB / 0.6355 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.000202/0.5326, allocations: 145 kB / 0.7432 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007037/0.5333, allocations: 0.5575 MB / 0.7438 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5333, allocations: 1.406 kB / 0.7438 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.5336, allocations: 402.4 kB / 0.7442 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.534, allocations: 40.16 kB / 0.7442 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008875/0.5349, allocations: 0.6409 MB / 0.7448 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.5351, allocations: 171 kB / 0.745 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.5352, allocations: 60.08 kB / 0.745 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.5352, allocations: 24.62 kB / 0.7451 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.5352, allocations: 1.281 kB / 0.7451 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of Templates: time 0.007966/0.5432, allocations: 4.172 MB / 0.7491 GB, free: 4.656 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4777801050804555] Failed to read output from testmodel.py, exit status != 0: 0.5525135960197076 0.5636187579999999 0.045893178 Calling exit ...