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.002012/0.002012, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002853/0.002853, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.36/1.36, allocations: 203.5 MB / 0.5038 GB, free: 4.926 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 71.89 kB / 0.7183 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6691, allocations: 102 MB / 0.8178 GB, free: 29.07 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.008023/0.6771, allocations: 3.057 MB / 0.8208 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.6809, allocations: 1.316 MB / 0.8221 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.6811, allocations: 10.59 kB / 0.8221 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.6827, allocations: 338 kB / 0.8224 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.6833, allocations: 146.2 kB / 0.8226 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006437/0.6839, allocations: 137.4 kB / 0.8227 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.6845, allocations: 308.5 kB / 0.823 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.6851, allocations: 183.8 kB / 0.8232 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.6853, allocations: 128.8 kB / 0.8233 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.6857, allocations: 138.8 kB / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.6858, allocations: 18.22 kB / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.6862, allocations: 146 kB / 0.8236 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.6864, allocations: 83.66 kB / 0.8237 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.6865, allocations: 93.64 kB / 0.8238 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.6872, allocations: 344.5 kB / 0.8241 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.6872, allocations: 0 / 0.8241 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6872, allocations: 1.156 kB / 0.8241 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.6872, allocations: 0 / 0.8241 GB, free: 25.37 MB / 0.6387 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.001076/0.6883, allocations: 456.5 kB / 0.8245 GB, free: 25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6884, allocations: 9.719 kB / 0.8245 GB, free: 25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009484/0.6893, allocations: 75.23 kB / 0.8246 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.6897, allocations: 194.2 kB / 0.8248 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.6897, allocations: 11.81 kB / 0.8248 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.6898, allocations: 25.64 kB / 0.8248 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.6903, allocations: 377.9 kB / 0.8252 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.6904, allocations: 2.938 kB / 0.8252 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.6904, allocations: 14.62 kB / 0.8252 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.6904, allocations: 15.58 kB / 0.8252 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.6908, allocations: 193.5 kB / 0.8254 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.6922, allocations: 0.9931 MB / 0.8264 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.6925, allocations: 96.38 kB / 0.8265 GB, free: 23.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.6926, allocations: 30.38 kB / 0.8265 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.6926, allocations: 1.406 kB / 0.8265 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.6926, allocations: 39.19 kB / 0.8265 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.6926, allocations: 0 / 0.8265 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0005192/0.6931, allocations: 136.3 kB / 0.8267 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.6932, allocations: 61.12 kB / 0.8267 GB, free: 23.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.6934, allocations: 188.3 kB / 0.8269 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.6934, allocations: 30.67 kB / 0.8269 GB, free: 23.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6935, allocations: 180.5 kB / 0.8271 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.6935, allocations: 26.75 kB / 0.8271 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.212e-05/0.6936, allocations: 38.95 kB / 0.8272 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.6937, allocations: 328.1 kB / 0.8275 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.6938, allocations: 36.75 kB / 0.8275 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.6939, allocations: 100.8 kB / 0.8276 GB, free: 22.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.694, allocations: 150.4 kB / 0.8277 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.694, allocations: 0 / 0.8277 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000334/0.6944, allocations: 187.8 kB / 0.8279 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6944, allocations: 6.312 kB / 0.8279 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6944, allocations: 1.719 kB / 0.8279 GB, free: 22.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.6946, allocations: 26.78 kB / 0.828 GB, free: 22.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6947, allocations: 24.92 kB / 0.828 GB, free: 22.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/0.6956, allocations: 1.295 MB / 0.8292 GB, free: 21.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.6957, allocations: 15.06 kB / 0.8293 GB, free: 21.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.6957, allocations: 5.5 kB / 0.8293 GB, free: 21.11 MB / 0.6387 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.0001315/0.6959, allocations: 150.1 kB / 0.8294 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.6959, allocations: 18.72 kB / 0.8294 GB, free: 20.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.6959, allocations: 18.55 kB / 0.8294 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.6959, allocations: 1.375 kB / 0.8294 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6959, allocations: 1.375 kB / 0.8294 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6959, allocations: 0.9375 kB / 0.8294 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.6964, allocations: 377.9 kB / 0.8298 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6964, allocations: 1.922 kB / 0.8298 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.6965, allocations: 7.828 kB / 0.8298 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/0.6966, allocations: 30.44 kB / 0.8298 GB, free: 20.63 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6966, allocations: 0.5625 kB / 0.8298 GB, free: 20.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000739/0.6973, allocations: 1.285 MB / 0.8311 GB, free: 19.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6973, allocations: 4.328 kB / 0.8311 GB, free: 19.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6975, allocations: 211 kB / 0.8313 GB, free: 19.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/0.6976, allocations: 28.98 kB / 0.8313 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.6976, allocations: 1.125 kB / 0.8313 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6977, allocations: 4.047 kB / 0.8313 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.6978, allocations: 5.609 kB / 0.8313 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.6978, allocations: 6.344 kB / 0.8314 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001175/0.6979, allocations: 134.4 kB / 0.8315 GB, free: 19.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6979, allocations: 0 / 0.8315 GB, free: 19.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003751/0.6983, allocations: 57.23 kB / 0.8315 GB, free: 19.07 MB / 0.6387 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 9.287e-05/0.6984, allocations: 93.59 kB / 0.8316 GB, free: 18.98 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.6987, allocations: 201.1 kB / 0.8318 GB, free: 18.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6987, allocations: 1.375 kB / 0.8318 GB, free: 18.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.6989, allocations: 147.6 kB / 0.832 GB, free: 18.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.6992, allocations: 33.33 kB / 0.832 GB, free: 18.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.6999, allocations: 360.5 kB / 0.8323 GB, free: 18.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.7001, allocations: 137.5 kB / 0.8325 GB, free: 18.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.7002, allocations: 18.62 kB / 0.8325 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.7003, allocations: 14.31 kB / 0.8325 GB, free: 18.38 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.7003, allocations: 4 kB / 0.8325 GB, free: 18.37 MB / 0.6387 GB Notification: Performance of Templates: time 0.006463/0.7067, allocations: 1.861 MB / 0.8343 GB, free: 18.14 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.018579674884677] Failed to read output from testmodel.py, exit status != 0: 0.7168537974357605 0.7343856860000001 0.043673115000000005 Calling exit ...