Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001936/0.001936, allocations: 93.47 kB / 19.44 MB, free: 336 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.00205/0.00205, allocations: 169.6 kB / 22.76 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.437/1.437, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5196 GB, free: 2.594 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.391e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.59 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00567/0.005704, allocations: 3.131 MB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.008616, allocations: 1.363 MB / 0.524 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.008738, allocations: 8.688 kB / 0.524 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.009883, allocations: 340.1 kB / 0.5243 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.01026, allocations: 152.4 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.01063, allocations: 139 kB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.01108, allocations: 314.9 kB / 0.5249 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.01152, allocations: 184.6 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.01177, allocations: 175.6 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.01211, allocations: 123.6 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.01216, allocations: 20 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.01246, allocations: 159.5 kB / 0.5255 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.01259, allocations: 91.72 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.01271, allocations: 76.41 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.01325, allocations: 347.5 kB / 0.526 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.01326, allocations: 3.938 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01326, allocations: 0.9688 kB / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.01326, allocations: 0 / 0.526 GB, free: 12.01 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009573/0.01422, allocations: 0.5517 MB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.01426, allocations: 8.031 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006752/0.01493, allocations: 118.3 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.0153, allocations: 204.1 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.01532, allocations: 8.75 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.01536, allocations: 20.38 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.01588, allocations: 318.3 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01589, allocations: 0.875 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.01592, allocations: 9.5 kB / 0.5272 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.813e-05/0.01597, allocations: 24.3 kB / 0.5272 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.01622, allocations: 96.95 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.018, allocations: 1.289 MB / 0.5286 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.01824, allocations: 77.86 kB / 0.5287 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.0183, allocations: 23.84 kB / 0.5287 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01832, allocations: 3.984 kB / 0.5287 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.01836, allocations: 41.33 kB / 0.5287 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01836, allocations: 0 / 0.5287 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0004799/0.01884, allocations: 122.7 kB / 0.5288 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.01889, allocations: 55.41 kB / 0.5289 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.01916, allocations: 257.8 kB / 0.5291 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01918, allocations: 26.64 kB / 0.5292 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.01937, allocations: 218.7 kB / 0.5294 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.0194, allocations: 35.73 kB / 0.5294 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.01948, allocations: 40.31 kB / 0.5294 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002865/0.01977, allocations: 0.4962 MB / 0.5299 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.01982, allocations: 24.64 kB / 0.53 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.01997, allocations: 120.9 kB / 0.5301 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.0202, allocations: 160.3 kB / 0.5302 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02021, allocations: 0 / 0.5302 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007352/0.02094, allocations: 176.1 kB / 0.5304 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.02096, allocations: 8 kB / 0.5304 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.02097, allocations: 4 kB / 0.5304 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.02126, allocations: 37.28 kB / 0.5304 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.02137, allocations: 35.45 kB / 0.5305 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.02324, allocations: 1.759 MB / 0.5322 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.02337, allocations: 11.89 kB / 0.5322 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.02339, allocations: 12 kB / 0.5322 GB, free: 5.195 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * 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.00019/0.02358, allocations: 167.9 kB / 0.5324 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.02363, allocations: 19.91 kB / 0.5324 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.02366, allocations: 17.5 kB / 0.5324 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.02367, allocations: 7.922 kB / 0.5324 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.02367, allocations: 4 kB / 0.5324 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.02368, allocations: 0 / 0.5324 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.02429, allocations: 424.9 kB / 0.5328 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02429, allocations: 0 / 0.5328 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.02433, allocations: 19.02 kB / 0.5328 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.02449, allocations: 27.67 kB / 0.5329 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.0245, allocations: 4 kB / 0.5329 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.02595, allocations: 1.759 MB / 0.5346 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02595, allocations: 0 / 0.5346 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.02625, allocations: 251.4 kB / 0.5348 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.02631, allocations: 15.94 kB / 0.5348 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.02632, allocations: 4 kB / 0.5349 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.02643, allocations: 7.938 kB / 0.5349 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.02646, allocations: 4.891 kB / 0.5349 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.02646, allocations: 4 kB / 0.5349 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000163/0.02663, allocations: 177.3 kB / 0.535 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02663, allocations: 5.938 kB / 0.535 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000342/0.02697, allocations: 51.84 kB / 0.5351 GB, free: 2.055 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001608/0.02713, allocations: 99.89 kB / 0.5352 GB, free: 1.949 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.0276, allocations: 252.9 kB / 0.5354 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.0276, allocations: 0.5312 kB / 0.5354 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.02783, allocations: 207 kB / 0.5356 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.02821, allocations: 24.92 kB / 0.5357 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007552/0.02896, allocations: 348.7 kB / 0.536 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.02915, allocations: 134.1 kB / 0.5361 GB, free: 0.9219 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.028e-05/0.02924, allocations: 25.3 kB / 0.5361 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.02928, allocations: 16.5 kB / 0.5362 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.02928, allocations: 0 / 0.5362 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of Templates: time 0.006204/0.03549, allocations: 1.66 MB / 0.5378 GB, free: 15.33 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.289548658998683]