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.001338/0.001338, allocations: 78.72 kB / 19.17 MB, free: 2.52 MB / 14.72 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.001557/0.001557, allocations: 167.3 kB / 22.45 MB, free: 5.379 MB / 14.72 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.412/1.412, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-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 1.178/1.178, allocations: 154.7 MB / 413.9 MB, free: 5.133 MB / 382.1 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.228e-05/1.228e-05, allocations: 0 / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/4.17e-05, allocations: 7.312 kB / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004704/0.004745, allocations: 3.02 MB / 0.6217 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.007205, allocations: 1.313 MB / 0.623 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.007339, allocations: 7.938 kB / 0.623 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.008495, allocations: 342.5 kB / 0.6233 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.008851, allocations: 143.1 kB / 0.6234 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.009195, allocations: 139.5 kB / 0.6236 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.00958, allocations: 306.9 kB / 0.6238 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.009985, allocations: 180.6 kB / 0.624 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.01021, allocations: 171.6 kB / 0.6242 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.01048, allocations: 127.6 kB / 0.6243 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.01052, allocations: 16 kB / 0.6243 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.01077, allocations: 155.6 kB / 0.6245 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.01086, allocations: 79.72 kB / 0.6245 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.01096, allocations: 79.83 kB / 0.6246 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.01139, allocations: 342.9 kB / 0.6249 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.0114, allocations: 0 / 0.6249 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.51e-07/0.0114, allocations: 8 kB / 0.625 GB, free: 14.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.0114, allocations: 0 / 0.625 GB, free: 14.16 MB / 0.545 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.0007868/0.01219, allocations: 461.4 kB / 0.6254 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01222, allocations: 8.031 kB / 0.6254 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.0128, allocations: 84.72 kB / 0.6255 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.0131, allocations: 185.5 kB / 0.6257 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.01313, allocations: 20.67 kB / 0.6257 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.01317, allocations: 16.38 kB / 0.6257 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.01367, allocations: 369.4 kB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01369, allocations: 192 / 0.6261 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.01371, allocations: 8.375 kB / 0.6261 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.01375, allocations: 24.23 kB / 0.6261 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.01407, allocations: 197 kB / 0.6263 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.01534, allocations: 0.985 MB / 0.6272 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.01556, allocations: 94.61 kB / 0.6273 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.01562, allocations: 28.84 kB / 0.6273 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.01563, allocations: 0 / 0.6273 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.01567, allocations: 42.44 kB / 0.6274 GB, free: 11.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.01567, allocations: 0 / 0.6274 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004384/0.01611, allocations: 150.5 kB / 0.6275 GB, free: 11.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.01614, allocations: 55.41 kB / 0.6276 GB, free: 11.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.01634, allocations: 186.9 kB / 0.6278 GB, free: 11.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01636, allocations: 29.7 kB / 0.6278 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.01647, allocations: 167.9 kB / 0.628 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.0165, allocations: 27.78 kB / 0.628 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.01656, allocations: 37.67 kB / 0.628 GB, free: 10.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.01671, allocations: 322.8 kB / 0.6283 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.01678, allocations: 43.91 kB / 0.6284 GB, free: 10.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01691, allocations: 96.58 kB / 0.6285 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01709, allocations: 148.4 kB / 0.6286 GB, free: 10.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01709, allocations: 0 / 0.6286 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003172/0.01741, allocations: 198.1 kB / 0.6288 GB, free: 9.938 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01742, allocations: 4 kB / 0.6288 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01743, allocations: 4 kB / 0.6288 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.01758, allocations: 20.84 kB / 0.6288 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01769, allocations: 31.92 kB / 0.6288 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.0188, allocations: 1.288 MB / 0.6301 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.0189, allocations: 19.92 kB / 0.6301 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01891, allocations: 4 kB / 0.6301 GB, free: 8.461 MB / 0.545 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.000143/0.01906, allocations: 152.6 kB / 0.6303 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.01909, allocations: 15.91 kB / 0.6303 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.01912, allocations: 21.5 kB / 0.6303 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01913, allocations: 8.094 kB / 0.6303 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.01913, allocations: 0 / 0.6303 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.01913, allocations: 160 / 0.6303 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.01961, allocations: 382.8 kB / 0.6307 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01961, allocations: 0 / 0.6307 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.01965, allocations: 4 kB / 0.6307 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.819e-05/0.01973, allocations: 28.83 kB / 0.6307 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01973, allocations: 0 / 0.6307 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.02074, allocations: 1.28 MB / 0.632 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02074, allocations: 0 / 0.632 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.02098, allocations: 208.2 kB / 0.6322 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.02102, allocations: 23.89 kB / 0.6322 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.02103, allocations: 0 / 0.6322 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02114, allocations: 7.938 kB / 0.6322 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.02116, allocations: 7.984 kB / 0.6322 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.02117, allocations: 4.156 kB / 0.6322 GB, free: 6.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001229/0.02129, allocations: 135.2 kB / 0.6323 GB, free: 6.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02129, allocations: 0 / 0.6323 GB, free: 6.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003052/0.02159, allocations: 55.89 kB / 0.6324 GB, free: 5.973 MB / 0.545 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.0001005/0.02169, allocations: 95.25 kB / 0.6325 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.02204, allocations: 206.9 kB / 0.6327 GB, free: 5.652 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.02205, allocations: 4.188 kB / 0.6327 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.0222, allocations: 146.6 kB / 0.6328 GB, free: 5.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.02252, allocations: 36.56 kB / 0.6329 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.0231, allocations: 346.2 kB / 0.6332 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.02324, allocations: 139.9 kB / 0.6333 GB, free: 4.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.237e-05/0.02333, allocations: 33.45 kB / 0.6333 GB, free: 4.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.02337, allocations: 16.5 kB / 0.6334 GB, free: 4.898 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.02337, allocations: 0 / 0.6334 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Templates: time 0.004839/0.02821, allocations: 1.645 MB / 0.635 GB, free: 3.316 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.523078583180904] Failed to read output from testmodel.py, exit status != 0: 0.03636467270553112 0.050467799 0.036100421 Calling exit ...