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.0009771/0.0009771, allocations: 77.88 kB / 20.66 MB, free: 3.852 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.001813/0.001813, allocations: 165 kB / 24.06 MB, free: 464 kB / 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.52 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-545:108: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-545:116: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.7661/0.7661, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5215 GB, free: 1.996 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.653e-05, allocations: 6.469 kB / 0.5215 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003721/0.003748, allocations: 3.263 MB / 0.5247 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.005938, allocations: 1.245 MB / 0.5259 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.006122, allocations: 17.56 kB / 0.5259 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.006617, allocations: 127.2 kB / 0.526 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.007005, allocations: 240.6 kB / 0.5263 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.007351, allocations: 206.7 kB / 0.5265 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00051/0.007861, allocations: 0.6344 MB / 0.5271 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.00829, allocations: 351 kB / 0.5274 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.008586, allocations: 347.2 kB / 0.5278 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.008955, allocations: 253.4 kB / 0.528 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.009001, allocations: 40 kB / 0.528 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.009175, allocations: 107.8 kB / 0.5281 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.009286, allocations: 159.5 kB / 0.5283 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.009408, allocations: 155.7 kB / 0.5284 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.009821, allocations: 407.1 kB / 0.5288 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.009824, allocations: 0 / 0.5288 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.009825, allocations: 0.5 kB / 0.5288 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.009833, allocations: 1 kB / 0.5288 GB, free: 10.5 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0007689/0.0106, allocations: 0.7433 MB / 0.5296 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01063, allocations: 9.031 kB / 0.5296 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.0112, allocations: 197.9 kB / 0.5298 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.01148, allocations: 273 kB / 0.53 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.0115, allocations: 30.64 kB / 0.53 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.01155, allocations: 36.38 kB / 0.5301 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.01193, allocations: 0.4993 MB / 0.5306 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01194, allocations: 0.9375 kB / 0.5306 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.01196, allocations: 20.38 kB / 0.5306 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.012, allocations: 39.83 kB / 0.5306 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.01216, allocations: 128.4 kB / 0.5307 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.01377, allocations: 1.984 MB / 0.5327 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.01403, allocations: 176.6 kB / 0.5329 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.01409, allocations: 51.64 kB / 0.5329 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.0141, allocations: 4 kB / 0.5329 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.01412, allocations: 33.39 kB / 0.5329 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.01412, allocations: 0.5 kB / 0.5329 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001019/0.01514, allocations: 0.6016 MB / 0.5335 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.01517, allocations: 59.34 kB / 0.5336 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.01535, allocations: 316 kB / 0.5339 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01536, allocations: 25.7 kB / 0.5339 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.01549, allocations: 287.8 kB / 0.5342 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.01554, allocations: 91.23 kB / 0.5343 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01561, allocations: 67.62 kB / 0.5343 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01575, allocations: 0.509 MB / 0.5348 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.01579, allocations: 32.62 kB / 0.5349 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.0159, allocations: 157.7 kB / 0.535 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.01607, allocations: 218.2 kB / 0.5352 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01607, allocations: 6.094 kB / 0.5352 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003424/0.01642, allocations: 305.8 kB / 0.5355 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01643, allocations: 5.875 kB / 0.5355 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01644, allocations: 4 kB / 0.5355 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.01673, allocations: 128.5 kB / 0.5357 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01688, allocations: 63.91 kB / 0.5357 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.01936, allocations: 5.22 MB / 0.5408 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.0195, allocations: 8 kB / 0.5408 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01951, allocations: 15.98 kB / 0.5408 GB, free: 13.44 MB / 0.5105 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.0001332/0.01965, allocations: 173.4 kB / 0.541 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.01969, allocations: 45.19 kB / 0.541 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.01973, allocations: 34.27 kB / 0.5411 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.01973, allocations: 4 kB / 0.5411 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01974, allocations: 0 / 0.5411 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01974, allocations: 5.328 kB / 0.5411 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.01997, allocations: 205.1 kB / 0.5413 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01998, allocations: 0 / 0.5413 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.02008, allocations: 40.72 kB / 0.5413 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/0.02034, allocations: 120.6 kB / 0.5414 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.02035, allocations: 7.875 kB / 0.5414 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.02255, allocations: 5.22 MB / 0.5465 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02255, allocations: 0 / 0.5465 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.02289, allocations: 404.4 kB / 0.5469 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.02296, allocations: 47.77 kB / 0.547 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.02298, allocations: 4 kB / 0.547 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.02308, allocations: 10.03 kB / 0.547 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.02311, allocations: 23.77 kB / 0.547 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.02312, allocations: 8 kB / 0.547 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.085e-05/0.02321, allocations: 201.1 kB / 0.5472 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.02321, allocations: 2.344 kB / 0.5472 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003226/0.02353, allocations: 96 kB / 0.5473 GB, free: 6.414 MB / 0.5105 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.0001038/0.02364, allocations: 108.3 kB / 0.5474 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.0241, allocations: 0.6569 MB / 0.548 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0241, allocations: 0 / 0.548 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.02435, allocations: 0.5759 MB / 0.5486 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.02466, allocations: 69.55 kB / 0.5487 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009356/0.0256, allocations: 0.6571 MB / 0.5493 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.052e-05/0.02568, allocations: 132.6 kB / 0.5494 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.266e-05/0.02577, allocations: 25.55 kB / 0.5495 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.02591, allocations: 142.1 kB / 0.5496 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of SimCode: time 5.91e-07/0.02591, allocations: 3.281 kB / 0.5496 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.006859/0.03277, allocations: 4.758 MB / 0.5542 GB, free: 15.34 MB / 0.5261 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8299249233677983]