Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001995/0.001995, allocations: 85.48 kB / 19.44 MB, free: 348 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.002015/0.002015, allocations: 177.6 kB / 22.77 MB, free: 1.664 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-545:108: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-545:116: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.436/1.436, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5196 GB, free: 1.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.762e-05/3.969e-05, allocations: 3.719 kB / 0.5196 GB, free: 1.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.006666/0.006706, allocations: 3.883 MB / 0.5234 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.01036, allocations: 1.765 MB / 0.5251 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.01059, allocations: 7.938 kB / 0.5251 GB, free: 11.83 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.01222, allocations: 0.4902 MB / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006931/0.01291, allocations: 244.2 kB / 0.5258 GB, free: 11.1 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.01352, allocations: 209.7 kB / 0.526 GB, free: 10.9 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.01417, allocations: 486.2 kB / 0.5265 GB, free: 10.42 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.01476, allocations: 293.4 kB / 0.5268 GB, free: 10.13 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.01515, allocations: 279.3 kB / 0.527 GB, free: 9.859 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.01561, allocations: 196.2 kB / 0.5272 GB, free: 9.668 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.967e-05/0.01567, allocations: 28.56 kB / 0.5273 GB, free: 9.641 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.01618, allocations: 229.2 kB / 0.5275 GB, free: 9.418 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.01637, allocations: 139.6 kB / 0.5276 GB, free: 9.281 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.01655, allocations: 119.8 kB / 0.5277 GB, free: 9.164 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.0174, allocations: 0.5218 MB / 0.5282 GB, free: 8.641 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.01741, allocations: 0 / 0.5282 GB, free: 8.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01741, allocations: 0.5312 kB / 0.5282 GB, free: 8.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.01742, allocations: 0 / 0.5282 GB, free: 8.641 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001239/0.01865, allocations: 0.6843 MB / 0.5289 GB, free: 7.922 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.01869, allocations: 13.47 kB / 0.5289 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.0197, allocations: 202.1 kB / 0.5291 GB, free: 7.715 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.02016, allocations: 234.8 kB / 0.5293 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.02019, allocations: 25.02 kB / 0.5294 GB, free: 7.438 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.02025, allocations: 28.38 kB / 0.5294 GB, free: 7.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.02096, allocations: 492.9 kB / 0.5299 GB, free: 6.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.02097, allocations: 192 / 0.5299 GB, free: 6.855 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.02101, allocations: 16.36 kB / 0.5299 GB, free: 6.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.02107, allocations: 36.58 kB / 0.5299 GB, free: 6.805 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.02144, allocations: 164.2 kB / 0.5301 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.02396, allocations: 1.981 MB / 0.532 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.02431, allocations: 134.2 kB / 0.5321 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.02453, allocations: 67.66 kB / 0.5322 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.02455, allocations: 4 kB / 0.5322 GB, free: 4.367 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.02459, allocations: 41.33 kB / 0.5322 GB, free: 4.316 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.02459, allocations: 0 / 0.5322 GB, free: 4.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.000576/0.02517, allocations: 176.5 kB / 0.5324 GB, free: 4.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.02522, allocations: 51.41 kB / 0.5324 GB, free: 4.074 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.02558, allocations: 314.6 kB / 0.5327 GB, free: 3.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.02561, allocations: 29.7 kB / 0.5328 GB, free: 3.715 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.0258, allocations: 262.9 kB / 0.533 GB, free: 3.453 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-05/0.02586, allocations: 51.59 kB / 0.5331 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.02597, allocations: 63.55 kB / 0.5331 GB, free: 3.328 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/0.02625, allocations: 0.5079 MB / 0.5336 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/0.02634, allocations: 34.27 kB / 0.5337 GB, free: 2.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.02654, allocations: 160.8 kB / 0.5338 GB, free: 2.566 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.02683, allocations: 219 kB / 0.534 GB, free: 2.301 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.02683, allocations: 4 kB / 0.534 GB, free: 2.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004277/0.02726, allocations: 234.3 kB / 0.5343 GB, free: 2.062 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.02729, allocations: 4 kB / 0.5343 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.02729, allocations: 9 kB / 0.5343 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.02757, allocations: 37.31 kB / 0.5343 GB, free: 2.012 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.02776, allocations: 51.92 kB / 0.5344 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.02937, allocations: 1.767 MB / 0.5361 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.02953, allocations: 23.78 kB / 0.5361 GB, free: 56 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.02955, allocations: 12 kB / 0.5361 GB, free: 44 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.02976, allocations: 176.5 kB / 0.5363 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.02981, allocations: 23.78 kB / 0.5363 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.02987, allocations: 29.45 kB / 0.5363 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.02987, allocations: 3.938 kB / 0.5363 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02988, allocations: 3.938 kB / 0.5363 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.02988, allocations: 0 / 0.5363 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.0312, allocations: 0.6238 MB / 0.5369 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.03121, allocations: 6.562 kB / 0.537 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.03133, allocations: 23.92 kB / 0.537 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.03155, allocations: 35.67 kB / 0.537 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.03157, allocations: 8.719 kB / 0.537 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.03336, allocations: 1.758 MB / 0.5387 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.03336, allocations: 4 kB / 0.5387 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.0339, allocations: 346.5 kB / 0.5391 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.03402, allocations: 35.83 kB / 0.5391 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.03406, allocations: 5.719 kB / 0.5391 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.0343, allocations: 12 kB / 0.5391 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.03435, allocations: 15.91 kB / 0.5391 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.03437, allocations: 13.62 kB / 0.5391 GB, free: 12.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002705/0.03464, allocations: 205.5 kB / 0.5393 GB, free: 12.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.03464, allocations: 0 / 0.5393 GB, free: 12.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006349/0.03527, allocations: 79.78 kB / 0.5394 GB, free: 12.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001442/0.03542, allocations: 100.4 kB / 0.5395 GB, free: 12.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.03595, allocations: 308.4 kB / 0.5398 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.03596, allocations: 0 / 0.5398 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.03626, allocations: 237.3 kB / 0.54 GB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.03678, allocations: 58.69 kB / 0.5401 GB, free: 11.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.03785, allocations: 0.536 MB / 0.5406 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.03807, allocations: 183 kB / 0.5408 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.03819, allocations: 34.2 kB / 0.5408 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.03824, allocations: 17.12 kB / 0.5408 GB, free: 10.84 MB / 474.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03824, allocations: 0 / 0.5408 GB, free: 10.84 MB / 474.7 MB Notification: Performance of Templates: time 0.008249/0.04649, allocations: 2.444 MB / 0.5432 GB, free: 8.566 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.204536651959643]