Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.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.001137/0.001137, allocations: 80.44 kB / 19.91 MB, free: 4 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.00131/0.00131, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9045/0.9045, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7292/0.7292, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IDEAS.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad") [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.001047/0.001047, allocations: 70.92 kB / 0.6195 GB, free: 13.15 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.4737/0.4748, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.VariableLoad): time 0.00533/0.4801, allocations: 3.763 MB / 0.7228 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.4826, allocations: 1.749 MB / 0.7245 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.4827, allocations: 14.81 kB / 0.7245 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009165/0.4837, allocations: 435.9 kB / 0.7249 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.4842, allocations: 254.4 kB / 0.7251 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.485, allocations: 251.5 kB / 0.7254 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006717/0.4857, allocations: 0.511 MB / 0.7259 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006145/0.4863, allocations: 288.3 kB / 0.7262 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.4867, allocations: 292.2 kB / 0.7264 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.4872, allocations: 233.3 kB / 0.7267 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.4872, allocations: 31.09 kB / 0.7267 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.4876, allocations: 173.2 kB / 0.7269 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.4877, allocations: 141.9 kB / 0.727 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.4879, allocations: 151.9 kB / 0.7271 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000654/0.4885, allocations: 0.5387 MB / 0.7277 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.4885, allocations: 3.938 kB / 0.7277 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4885, allocations: 0 / 0.7277 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.4885, allocations: 0 / 0.7277 GB, free: 18.68 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009593/0.4895, allocations: 0.59 MB / 0.7282 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4895, allocations: 13.59 kB / 0.7283 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.4899, allocations: 89.36 kB / 0.7283 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.4902, allocations: 246 kB / 0.7286 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.4902, allocations: 20.88 kB / 0.7286 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.4903, allocations: 35.02 kB / 0.7286 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007696/0.4911, allocations: 0.5921 MB / 0.7292 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4911, allocations: 7.922 kB / 0.7292 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.4911, allocations: 11.38 kB / 0.7292 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-05/0.4912, allocations: 39.12 kB / 0.7293 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.4917, allocations: 360.2 kB / 0.7296 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.493, allocations: 1.382 MB / 0.731 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.4934, allocations: 209.8 kB / 0.7312 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.4937, allocations: 140.3 kB / 0.7313 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.4937, allocations: 1.844 kB / 0.7313 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4937, allocations: 41.89 kB / 0.7313 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.4937, allocations: 0 / 0.7313 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0007559/0.4945, allocations: 347.3 kB / 0.7317 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.4945, allocations: 54.16 kB / 0.7317 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.4947, allocations: 245.1 kB / 0.7319 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4947, allocations: 31.08 kB / 0.732 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.4948, allocations: 216.1 kB / 0.7322 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.4948, allocations: 69.17 kB / 0.7322 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.4949, allocations: 57.2 kB / 0.7323 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.4949, allocations: 338.5 kB / 0.7326 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.4951, allocations: 100.8 kB / 0.7327 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4953, allocations: 234.9 kB / 0.7329 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.4956, allocations: 316.6 kB / 0.7332 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4956, allocations: 5.312 kB / 0.7333 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005136/0.4961, allocations: 355.3 kB / 0.7336 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4961, allocations: 6.531 kB / 0.7336 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4961, allocations: 8.453 kB / 0.7336 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.4963, allocations: 44.45 kB / 0.7336 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4965, allocations: 67.95 kB / 0.7337 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.4973, allocations: 1.348 MB / 0.735 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.4974, allocations: 39.88 kB / 0.7351 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.4974, allocations: 11.69 kB / 0.7351 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002189/0.4977, allocations: 217.8 kB / 0.7353 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001731/0.4978, allocations: 237.2 kB / 0.7355 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003021/0.4981, allocations: 312.9 kB / 0.7358 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.4981, allocations: 1.5 kB / 0.7358 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000453/0.4986, allocations: 359.1 kB / 0.7362 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4986, allocations: 7.891 kB / 0.7362 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4986, allocations: 3.562 kB / 0.7362 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.744e-05/0.4987, allocations: 28.39 kB / 0.7362 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.4988, allocations: 68.52 kB / 0.7363 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000479/0.4993, allocations: 1.294 MB / 0.7375 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.4994, allocations: 35.95 kB / 0.7376 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4995, allocations: 14.59 kB / 0.7376 GB, free: 11.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.4995, allocations: 198.2 kB / 0.7378 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4996, allocations: 22.73 kB / 0.7378 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.4996, allocations: 30.39 kB / 0.7378 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4996, allocations: 1.125 kB / 0.7378 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4996, allocations: 5.781 kB / 0.7378 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.4997, allocations: 45.28 kB / 0.7379 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.4997, allocations: 5.094 kB / 0.7379 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.4998, allocations: 16.39 kB / 0.7379 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.4998, allocations: 13.14 kB / 0.7379 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003885/0.5002, allocations: 336.9 kB / 0.7382 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004343/0.5006, allocations: 489.9 kB / 0.7387 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.5008, allocations: 89.3 kB / 0.7388 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.66e-05/0.5009, allocations: 168.1 kB / 0.7389 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of Backend: time 4.01e-07/0.5009, allocations: 0 / 0.7389 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.5019, allocations: 0.6965 MB / 0.7396 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0008088/0.5027, allocations: 1.029 MB / 0.7406 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of Templates: time 0.008308/0.511, allocations: 5.259 MB / 0.7457 GB, free: 8.84 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3433433508034796] Failed to read output from testmodel.py, exit status != 0: 0.5173530858010054 0.52559835 0.035288933 Calling exit ...