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.001059/0.001059, allocations: 93.06 kB / 19.65 MB, free: 272 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.001171/0.001171, allocations: 173 kB / 23.02 MB, free: 1.543 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.081/1.081, allocations: 177.1 MB / 203.4 MB, free: 5.656 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-535:34: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-535:42: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.8504/0.8504, allocations: 154.9 MB / 414.8 MB, free: 400 kB / 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.934e-06/1.934e-06, allocations: 0 / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.6e-05, allocations: 8.422 kB / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003107/0.003133, allocations: 2.544 MB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.004521, allocations: 0.9897 MB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00465, allocations: 8.562 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.005091, allocations: 89.33 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.005382, allocations: 147.1 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.005615, allocations: 113.2 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.005998, allocations: 314.9 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.006365, allocations: 184.5 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.006549, allocations: 180.9 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.00679, allocations: 123.6 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.006819, allocations: 20 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.006963, allocations: 84.42 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.743e-05/0.007041, allocations: 103.7 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.779e-05/0.007108, allocations: 76.58 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.007379, allocations: 231.2 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.007382, allocations: 1.469 kB / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007383, allocations: 0 / 0.5257 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.007388, allocations: 0 / 0.5257 GB, free: 12.67 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.0005684/0.007956, allocations: 0.5323 MB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.007993, allocations: 8.031 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.008394, allocations: 128.2 kB / 0.5264 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.008612, allocations: 180.3 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.00863, allocations: 20.67 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.008652, allocations: 20.38 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.008927, allocations: 294.3 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.00894, allocations: 4.734 kB / 0.5269 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.008958, allocations: 8.938 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.292e-05/0.008991, allocations: 24.3 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.009118, allocations: 85.67 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.009986, allocations: 1.242 MB / 0.5282 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.01014, allocations: 73.11 kB / 0.5283 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.01018, allocations: 19.69 kB / 0.5283 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-06/0.01018, allocations: 4 kB / 0.5283 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.01021, allocations: 41.31 kB / 0.5283 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.01021, allocations: 2.75 kB / 0.5283 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002831/0.01049, allocations: 113.4 kB / 0.5284 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.01052, allocations: 51.41 kB / 0.5285 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.01065, allocations: 241.8 kB / 0.5287 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.01066, allocations: 25.7 kB / 0.5287 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.01074, allocations: 214.7 kB / 0.5289 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.01076, allocations: 33.39 kB / 0.529 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.0108, allocations: 35.38 kB / 0.529 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.0109, allocations: 0.4962 MB / 0.5295 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.01093, allocations: 19.92 kB / 0.5295 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.011, allocations: 113.7 kB / 0.5296 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.0111, allocations: 141.9 kB / 0.5298 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0111, allocations: 0 / 0.5298 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001754/0.01128, allocations: 160.9 kB / 0.5299 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01129, allocations: 9.625 kB / 0.5299 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0113, allocations: 4.312 kB / 0.5299 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/0.01146, allocations: 39.66 kB / 0.53 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.01152, allocations: 23.98 kB / 0.53 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007322/0.01225, allocations: 1.76 MB / 0.5317 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.01231, allocations: 11.89 kB / 0.5317 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.01232, allocations: 15.88 kB / 0.5317 GB, free: 6.047 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 7.528e-05/0.01239, allocations: 164.6 kB / 0.5319 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.01242, allocations: 15.91 kB / 0.5319 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.658e-05/0.01243, allocations: 21.45 kB / 0.5319 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01244, allocations: 3.938 kB / 0.5319 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01244, allocations: 3.688 kB / 0.5319 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01244, allocations: 0 / 0.5319 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.01273, allocations: 393 kB / 0.5323 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01273, allocations: 0 / 0.5323 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.01275, allocations: 7.984 kB / 0.5323 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.76e-05/0.01284, allocations: 31.67 kB / 0.5323 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.01285, allocations: 6.75 kB / 0.5323 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006074/0.01345, allocations: 1.728 MB / 0.534 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01345, allocations: 0.5625 kB / 0.534 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.01358, allocations: 239.4 kB / 0.5343 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.01361, allocations: 26.16 kB / 0.5343 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.01362, allocations: 0 / 0.5343 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.01367, allocations: 11.94 kB / 0.5343 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.01369, allocations: 7.984 kB / 0.5343 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.01369, allocations: 0 / 0.5343 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.802e-05/0.01376, allocations: 166.2 kB / 0.5345 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01376, allocations: 4 kB / 0.5345 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002047/0.01397, allocations: 59.83 kB / 0.5345 GB, free: 2.984 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 7.677e-05/0.01404, allocations: 96.97 kB / 0.5346 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.0143, allocations: 243.4 kB / 0.5349 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0143, allocations: 0 / 0.5349 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.01439, allocations: 198 kB / 0.535 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01461, allocations: 26.05 kB / 0.5351 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01524, allocations: 356.9 kB / 0.5354 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.01529, allocations: 88.92 kB / 0.5355 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.873e-05/0.01535, allocations: 24.19 kB / 0.5355 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.01538, allocations: 12.5 kB / 0.5355 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.01538, allocations: 1.5 kB / 0.5355 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of Templates: time 0.003709/0.01909, allocations: 1.744 MB / 0.5372 GB, free: 248 kB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9314431841485202]