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.0007433/0.0007433, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001068/0.001068, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8346/0.8346, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6933/0.6933, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.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.323e-06/1.323e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.027e-05, allocations: 6.781 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003085/0.003106, allocations: 3.027 MB / 0.6223 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.004637, allocations: 1.313 MB / 0.6235 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.004779, allocations: 8 kB / 0.6235 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.00544, allocations: 337.5 kB / 0.6239 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.005754, allocations: 151 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.006041, allocations: 139.5 kB / 0.6241 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.006347, allocations: 314.9 kB / 0.6244 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005695/0.006916, allocations: 180.6 kB / 0.6246 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.007089, allocations: 179.6 kB / 0.6248 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.007323, allocations: 127.6 kB / 0.6249 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.007347, allocations: 20 kB / 0.6249 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.00755, allocations: 155.5 kB / 0.6251 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.007621, allocations: 87.78 kB / 0.6252 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.007684, allocations: 75.83 kB / 0.6252 GB, free: 7.082 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.008003, allocations: 346.9 kB / 0.6256 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.008005, allocations: 4 kB / 0.6256 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.008007, allocations: 0 / 0.6256 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.008014, allocations: 0 / 0.6256 GB, free: 6.738 MB / 0.5886 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.0005828/0.008597, allocations: 449.5 kB / 0.626 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.008631, allocations: 8.031 kB / 0.626 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.008944, allocations: 80.72 kB / 0.6261 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.00916, allocations: 187.7 kB / 0.6263 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.009177, allocations: 16.75 kB / 0.6263 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.009196, allocations: 16.38 kB / 0.6263 GB, free: 5.941 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.009525, allocations: 373.3 kB / 0.6267 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.009534, allocations: 192 / 0.6267 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.009554, allocations: 12.38 kB / 0.6267 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.00958, allocations: 20.3 kB / 0.6267 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.009783, allocations: 196.9 kB / 0.6269 GB, free: 5.316 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008013/0.01058, allocations: 0.9928 MB / 0.6278 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.01075, allocations: 94.61 kB / 0.6279 GB, free: 4.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.01079, allocations: 28.84 kB / 0.628 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.0108, allocations: 0 / 0.628 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.01082, allocations: 38.5 kB / 0.628 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.01082, allocations: 4 kB / 0.628 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003081/0.01112, allocations: 154.3 kB / 0.6281 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.01115, allocations: 51.41 kB / 0.6282 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01127, allocations: 187.4 kB / 0.6284 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.01128, allocations: 25.7 kB / 0.6284 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.01135, allocations: 168 kB / 0.6286 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.01136, allocations: 27.94 kB / 0.6286 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.0114, allocations: 41.66 kB / 0.6286 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.01148, allocations: 322.8 kB / 0.6289 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.01152, allocations: 39.98 kB / 0.629 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.01158, allocations: 102.6 kB / 0.6291 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.01169, allocations: 148.4 kB / 0.6292 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.0117, allocations: 4 kB / 0.6292 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001879/0.01188, allocations: 186.1 kB / 0.6294 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.0119, allocations: 8 kB / 0.6294 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.01191, allocations: 0 / 0.6294 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.01203, allocations: 28.84 kB / 0.6294 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/0.01209, allocations: 32.2 kB / 0.6295 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006518/0.01274, allocations: 1.295 MB / 0.6307 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.01281, allocations: 19.84 kB / 0.6307 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.01281, allocations: 8 kB / 0.6307 GB, free: 1.035 MB / 0.5886 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 8.804e-05/0.0129, allocations: 147.2 kB / 0.6309 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.01292, allocations: 16.11 kB / 0.6309 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.01294, allocations: 21.45 kB / 0.6309 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01294, allocations: 3.938 kB / 0.6309 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01294, allocations: 0 / 0.6309 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.01294, allocations: 96 / 0.6309 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.01323, allocations: 378.8 kB / 0.6313 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01324, allocations: 0 / 0.6313 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/0.01325, allocations: 4 kB / 0.6313 GB, free: 436 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.817e-05/0.0133, allocations: 24.84 kB / 0.6313 GB, free: 408 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.01331, allocations: 4 kB / 0.6313 GB, free: 404 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/0.01403, allocations: 1.28 MB / 0.6326 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01403, allocations: 0 / 0.6326 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.01416, allocations: 212.3 kB / 0.6328 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.01419, allocations: 23.83 kB / 0.6328 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.01419, allocations: 0 / 0.6328 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.01425, allocations: 16.09 kB / 0.6328 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.01427, allocations: 7.984 kB / 0.6328 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01427, allocations: 0 / 0.6328 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.01434, allocations: 132.3 kB / 0.6329 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01434, allocations: 0 / 0.6329 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002029/0.01454, allocations: 55.83 kB / 0.633 GB, free: 14.55 MB / 0.6042 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 7.58e-05/0.01462, allocations: 95.25 kB / 0.6331 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01486, allocations: 211.1 kB / 0.6333 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01486, allocations: 0 / 0.6333 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.01494, allocations: 142.7 kB / 0.6334 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01516, allocations: 40.11 kB / 0.6335 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.01558, allocations: 380.3 kB / 0.6338 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.691e-05/0.01567, allocations: 135.9 kB / 0.634 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.0157, allocations: 16.5 kB / 0.634 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.0157, allocations: 0 / 0.634 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.002986/0.01869, allocations: 2.974 MB / 0.6369 GB, free: 10.5 MB / 0.6042 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.428326226770878] Failed to read output from testmodel.py, exit status != 0: 0.023525883443653584 0.031211837000000003 0.02161197 Calling exit ...