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.0007817/0.0007817, allocations: 76.45 kB / 19.91 MB, free: 12 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.0008392/0.0008392, 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.9028/0.9028, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7138/0.7138, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.0009221/0.0009221, allocations: 67.91 kB / 0.6195 GB, free: 13.09 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.4456/0.4465, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003549/0.4501, allocations: 3.032 MB / 0.722 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.4524, allocations: 1.879 MB / 0.7239 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4525, allocations: 8.219 kB / 0.7239 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.4532, allocations: 282.5 kB / 0.7242 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.4536, allocations: 203 kB / 0.7244 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.4543, allocations: 259.4 kB / 0.7246 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.4546, allocations: 325.2 kB / 0.7249 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.4549, allocations: 150.5 kB / 0.7251 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.4552, allocations: 198.6 kB / 0.7252 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.4554, allocations: 144.2 kB / 0.7254 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.4554, allocations: 20.69 kB / 0.7254 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.456, allocations: 384.4 kB / 0.7258 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.4561, allocations: 88.12 kB / 0.7259 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.4562, allocations: 103.6 kB / 0.7259 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.4568, allocations: 0.5347 MB / 0.7265 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4568, allocations: 0 / 0.7265 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4568, allocations: 1.469 kB / 0.7265 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.4568, allocations: 0 / 0.7265 GB, free: 19.32 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.0007258/0.4576, allocations: 0.5038 MB / 0.727 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.4576, allocations: 8.656 kB / 0.727 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.4582, allocations: 110.3 kB / 0.7271 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.4584, allocations: 204.7 kB / 0.7273 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4585, allocations: 17.33 kB / 0.7273 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4585, allocations: 16.62 kB / 0.7273 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.4589, allocations: 408.4 kB / 0.7277 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4589, allocations: 1 kB / 0.7277 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.459, allocations: 10.69 kB / 0.7277 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.459, allocations: 29.95 kB / 0.7277 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003655/0.4594, allocations: 289.8 kB / 0.728 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4607, allocations: 1.232 MB / 0.7292 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.461, allocations: 248.5 kB / 0.7295 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.4611, allocations: 99.98 kB / 0.7295 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/0.4612, allocations: 10.38 kB / 0.7296 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.4612, allocations: 41.41 kB / 0.7296 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.4612, allocations: 0 / 0.7296 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.00175/0.463, allocations: 0.8919 MB / 0.7305 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.463, allocations: 81.53 kB / 0.7305 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4632, allocations: 213.1 kB / 0.7307 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4632, allocations: 31.05 kB / 0.7308 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.4633, allocations: 172.2 kB / 0.7309 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.4633, allocations: 88.86 kB / 0.731 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.4634, allocations: 64.19 kB / 0.7311 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.4634, allocations: 334.4 kB / 0.7314 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4636, allocations: 126.1 kB / 0.7315 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.4638, allocations: 216.4 kB / 0.7317 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.4641, allocations: 366.4 kB / 0.7321 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4641, allocations: 1.531 kB / 0.7321 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005929/0.4647, allocations: 0.5054 MB / 0.7326 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4647, allocations: 6.047 kB / 0.7326 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4647, allocations: 2.75 kB / 0.7326 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.4651, allocations: 156.4 kB / 0.7327 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4652, allocations: 60.62 kB / 0.7328 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.4669, allocations: 3.939 MB / 0.7366 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.467, allocations: 18.56 kB / 0.7367 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.467, allocations: 14.94 kB / 0.7367 GB, free: 11.6 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.0001348/0.4672, allocations: 167.8 kB / 0.7368 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.4672, allocations: 31.38 kB / 0.7369 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.4678, allocations: 471.1 kB / 0.7373 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4678, allocations: 3.281 kB / 0.7373 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4678, allocations: 5.438 kB / 0.7373 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4678, allocations: 5.406 kB / 0.7373 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.4688, allocations: 0.8846 MB / 0.7382 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4688, allocations: 1.875 kB / 0.7382 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.4689, allocations: 34.47 kB / 0.7382 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.4691, allocations: 148.1 kB / 0.7384 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4692, allocations: 8.734 kB / 0.7384 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.4704, allocations: 3.892 MB / 0.7422 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4704, allocations: 2.625 kB / 0.7422 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.4709, allocations: 0.6251 MB / 0.7428 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.471, allocations: 49.08 kB / 0.7428 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.471, allocations: 5.531 kB / 0.7428 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4711, allocations: 22.83 kB / 0.7429 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.4712, allocations: 31.62 kB / 0.7429 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4712, allocations: 13.23 kB / 0.7429 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.513e-05/0.4713, allocations: 150.8 kB / 0.743 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4713, allocations: 0 / 0.743 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004169/0.4717, allocations: 94.31 kB / 0.7431 GB, free: 6.316 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.0001717/0.4719, allocations: 141 kB / 0.7433 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006685/0.4726, allocations: 0.564 MB / 0.7438 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4726, allocations: 1.344 kB / 0.7438 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.4728, allocations: 400.3 kB / 0.7442 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4732, allocations: 44.39 kB / 0.7442 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008553/0.4741, allocations: 0.6816 MB / 0.7449 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.4742, allocations: 171 kB / 0.7451 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.4743, allocations: 27.59 kB / 0.7451 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.4743, allocations: 0 / 0.7451 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.009757/0.484, allocations: 7.795 MB / 0.7527 GB, free: 3.637 MB / 0.6355 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: 6.485527659067884] Failed to read output from testmodel.py, exit status != 0: 0.4899178089108318 0.49990079899999995 0.040967868000000005 Calling exit ...