Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.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.001127/0.001127, allocations: 76.45 kB / 19.9 MB, free: 12 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.001226/0.001226, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9041/0.9041, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7161/0.7161, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel") [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.001159/0.001159, allocations: 69.09 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.5015, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004445/0.5059, allocations: 4.225 MB / 0.7232 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.5084, allocations: 1.817 MB / 0.725 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.5087, allocations: 15.59 kB / 0.725 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5098, allocations: 0.6039 MB / 0.7256 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.5103, allocations: 263.2 kB / 0.7258 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.511, allocations: 256.7 kB / 0.7261 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006328/0.5116, allocations: 0.61 MB / 0.7267 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.5122, allocations: 352.4 kB / 0.727 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.5126, allocations: 358.2 kB / 0.7274 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.513, allocations: 267.1 kB / 0.7276 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.5131, allocations: 36.53 kB / 0.7276 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004556/0.5135, allocations: 235 kB / 0.7279 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.5137, allocations: 157.1 kB / 0.728 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.5139, allocations: 182.8 kB / 0.7282 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.5147, allocations: 0.616 MB / 0.7288 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5147, allocations: 1.75 kB / 0.7288 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5147, allocations: 0 / 0.7288 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.5147, allocations: 0 / 0.7288 GB, free: 17.99 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001149/0.5159, allocations: 0.6638 MB / 0.7294 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.5159, allocations: 9.156 kB / 0.7295 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006983/0.5166, allocations: 148.2 kB / 0.7296 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.517, allocations: 277.6 kB / 0.7299 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.517, allocations: 30.98 kB / 0.7299 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.5171, allocations: 34.5 kB / 0.7299 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007625/0.5179, allocations: 0.6852 MB / 0.7306 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5179, allocations: 1.25 kB / 0.7306 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.5179, allocations: 21.31 kB / 0.7306 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.518, allocations: 32.25 kB / 0.7306 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.5185, allocations: 385.4 kB / 0.731 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.52, allocations: 1.664 MB / 0.7326 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.5205, allocations: 249 kB / 0.7329 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.5206, allocations: 98.16 kB / 0.733 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.5206, allocations: 1.312 kB / 0.733 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.5206, allocations: 37.89 kB / 0.733 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.5206, allocations: 0 / 0.733 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001743/0.5224, allocations: 0.8991 MB / 0.7339 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.5224, allocations: 53 kB / 0.7339 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5227, allocations: 272.6 kB / 0.7342 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.5227, allocations: 32.36 kB / 0.7342 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.5228, allocations: 241.5 kB / 0.7345 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.5229, allocations: 84.72 kB / 0.7345 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.523, allocations: 62.02 kB / 0.7346 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.523, allocations: 346 kB / 0.7349 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.5232, allocations: 99.67 kB / 0.735 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.5234, allocations: 198.6 kB / 0.7352 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.5238, allocations: 317.6 kB / 0.7355 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5238, allocations: 0 / 0.7355 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005469/0.5243, allocations: 435.9 kB / 0.7359 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5243, allocations: 7.188 kB / 0.7359 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.5243, allocations: 3.422 kB / 0.7359 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.5246, allocations: 103.6 kB / 0.736 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.5248, allocations: 64.98 kB / 0.7361 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.5267, allocations: 4.012 MB / 0.74 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.5268, allocations: 12.78 kB / 0.74 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.5269, allocations: 18.03 kB / 0.74 GB, free: 9.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.5271, allocations: 181.3 kB / 0.7402 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.5271, allocations: 31.19 kB / 0.7402 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.5271, allocations: 35.59 kB / 0.7403 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5271, allocations: 2.438 kB / 0.7403 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.5272, allocations: 5.188 kB / 0.7403 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5272, allocations: 1.312 kB / 0.7403 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.5275, allocations: 285.1 kB / 0.7406 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5275, allocations: 9.25 kB / 0.7406 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.5276, allocations: 31.33 kB / 0.7406 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.5278, allocations: 97.09 kB / 0.7407 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.5279, allocations: 1.25 kB / 0.7407 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.5294, allocations: 4 MB / 0.7446 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5294, allocations: 1.797 kB / 0.7446 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.5301, allocations: 0.5479 MB / 0.7451 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.5302, allocations: 46.66 kB / 0.7452 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.5302, allocations: 9.688 kB / 0.7452 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5303, allocations: 11.11 kB / 0.7452 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.5304, allocations: 28.5 kB / 0.7452 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5304, allocations: 13.22 kB / 0.7452 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001684/0.5305, allocations: 184.1 kB / 0.7454 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5305, allocations: 0 / 0.7454 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005298/0.5311, allocations: 99.12 kB / 0.7455 GB, free: 4.586 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.5312, allocations: 101.4 kB / 0.7456 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007796/0.532, allocations: 0.5903 MB / 0.7462 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.532, allocations: 1.281 kB / 0.7462 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.5323, allocations: 462 kB / 0.7466 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.5327, allocations: 76.36 kB / 0.7467 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5338, allocations: 0.7341 MB / 0.7474 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.534, allocations: 225.6 kB / 0.7476 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.5342, allocations: 56.38 kB / 0.7477 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.5342, allocations: 22.06 kB / 0.7477 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of SimCode: time 1.153e-06/0.5342, allocations: 0 / 0.7477 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of Templates: time 0.008507/0.5427, allocations: 4.367 MB / 0.752 GB, free: 2.621 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.397357697947882] Failed to read output from testmodel.py, exit status != 0: 0.5508241179632023 0.560711852 0.043288171 Calling exit ...