Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007299/0.0007299, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007411/0.0007411, 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.8255/0.8255, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6878/0.6878, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.887e-05, allocations: 5.453 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002868/0.002887, allocations: 3.031 MB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.004107, allocations: 1.297 MB / 0.6235 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.004196, allocations: 7.938 kB / 0.6235 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.004775, allocations: 342 kB / 0.6238 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.004982, allocations: 147.2 kB / 0.624 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.005151, allocations: 135.5 kB / 0.6241 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.005392, allocations: 314.8 kB / 0.6244 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.005679, allocations: 180.7 kB / 0.6246 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.005804, allocations: 179.5 kB / 0.6247 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.006011, allocations: 127.6 kB / 0.6249 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.006033, allocations: 20 kB / 0.6249 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.006178, allocations: 151.5 kB / 0.625 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.006242, allocations: 91.72 kB / 0.6251 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.006299, allocations: 79.83 kB / 0.6252 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.006568, allocations: 339 kB / 0.6255 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00657, allocations: 0 / 0.6255 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.11e-07/0.006571, allocations: 3.938 kB / 0.6255 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.006575, allocations: 0 / 0.6255 GB, free: 6.785 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.0005109/0.007086, allocations: 457.5 kB / 0.6259 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.007118, allocations: 13.47 kB / 0.626 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.007408, allocations: 80.72 kB / 0.626 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.007606, allocations: 181.4 kB / 0.6262 GB, free: 6.012 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.00762, allocations: 16.75 kB / 0.6262 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.007638, allocations: 16.38 kB / 0.6262 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.007938, allocations: 373.3 kB / 0.6266 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.00795, allocations: 4.188 kB / 0.6266 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.007967, allocations: 12.31 kB / 0.6266 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.007991, allocations: 20.3 kB / 0.6266 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.008176, allocations: 196.9 kB / 0.6268 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/0.008914, allocations: 0.985 MB / 0.6278 GB, free: 4.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.009066, allocations: 94.61 kB / 0.6279 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.009101, allocations: 29 kB / 0.6279 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.009108, allocations: 4 kB / 0.6279 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.009127, allocations: 42.42 kB / 0.6279 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.009128, allocations: 0 / 0.6279 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002854/0.009413, allocations: 150.4 kB / 0.6281 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.00944, allocations: 51.41 kB / 0.6281 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.009555, allocations: 187.4 kB / 0.6283 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.009567, allocations: 25.7 kB / 0.6283 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.009632, allocations: 168 kB / 0.6285 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.009646, allocations: 31.72 kB / 0.6285 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.009681, allocations: 33.67 kB / 0.6286 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.009745, allocations: 322.8 kB / 0.6289 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.009784, allocations: 39.92 kB / 0.6289 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.009846, allocations: 104.5 kB / 0.629 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.009951, allocations: 148.4 kB / 0.6291 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.009953, allocations: 0 / 0.6291 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001773/0.01013, allocations: 194.3 kB / 0.6293 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.01014, allocations: 4 kB / 0.6293 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01015, allocations: 4 kB / 0.6293 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.01026, allocations: 28.78 kB / 0.6294 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.961e-05/0.01032, allocations: 27.98 kB / 0.6294 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006018/0.01092, allocations: 1.303 MB / 0.6307 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.507e-05/0.01098, allocations: 15.84 kB / 0.6307 GB, free: 1.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.01098, allocations: 12 kB / 0.6307 GB, free: 1.066 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.295e-05/0.01107, allocations: 151.7 kB / 0.6308 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.01109, allocations: 7.953 kB / 0.6308 GB, free: 0.9023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.0111, allocations: 17.47 kB / 0.6309 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0111, allocations: 3.938 kB / 0.6309 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.0111, allocations: 4 kB / 0.6309 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01111, allocations: 0 / 0.6309 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.01137, allocations: 371 kB / 0.6312 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01137, allocations: 0 / 0.6312 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.01139, allocations: 8 kB / 0.6312 GB, free: 476 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.504e-05/0.01143, allocations: 20.84 kB / 0.6312 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01144, allocations: 3.984 kB / 0.6313 GB, free: 448 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005353/0.01197, allocations: 1.284 MB / 0.6325 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.01197, allocations: 0 / 0.6325 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.0121, allocations: 216.2 kB / 0.6327 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.01212, allocations: 15.89 kB / 0.6327 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.01213, allocations: 8 kB / 0.6327 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.01218, allocations: 3.938 kB / 0.6327 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.0122, allocations: 7.984 kB / 0.6327 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.0122, allocations: 7.938 kB / 0.6328 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.573e-05/0.01227, allocations: 135.2 kB / 0.6329 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 0.6329 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001932/0.01246, allocations: 59.92 kB / 0.6329 GB, free: 14.59 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 6.669e-05/0.01253, allocations: 95.23 kB / 0.633 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.01276, allocations: 206.5 kB / 0.6332 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01276, allocations: 0 / 0.6332 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/0.01283, allocations: 147.5 kB / 0.6334 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01305, allocations: 38.09 kB / 0.6334 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.01348, allocations: 368 kB / 0.6338 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.01357, allocations: 147.9 kB / 0.6339 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.01359, allocations: 12.5 kB / 0.6339 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.0136, allocations: 0 / 0.6339 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of Templates: time 0.003082/0.01668, allocations: 2.991 MB / 0.6368 GB, free: 10.53 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.138153574429452] Failed to read output from testmodel.py, exit status != 0: 0.020979085937142372 0.028068257000000003 0.020013364000000002 Calling exit ...