Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001078/0.001078, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.001243/0.001243, allocations: 215.7 kB / 23.01 MB, free: 3.109 MB / 13.93 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.8683/0.8683, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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.7232/0.7232, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 MB / 410.7 MB " [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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel") translateModel(IDEAS.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009439/0.0009439, allocations: 67.89 kB / 0.7194 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4274, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004311/0.4317, allocations: 4.522 MB / 0.8235 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.4337, allocations: 1.956 MB / 0.8254 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.4339, allocations: 13.03 kB / 0.8254 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.4348, allocations: 0.626 MB / 0.826 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.4352, allocations: 269.4 kB / 0.8263 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.4357, allocations: 252 kB / 0.8265 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.4362, allocations: 0.622 MB / 0.8271 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.4367, allocations: 343 kB / 0.8274 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.4369, allocations: 258 kB / 0.8277 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.4373, allocations: 283.6 kB / 0.828 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.4373, allocations: 35.84 kB / 0.828 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.4377, allocations: 264.5 kB / 0.8283 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4378, allocations: 152.9 kB / 0.8284 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.4379, allocations: 222.6 kB / 0.8286 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.4385, allocations: 0.606 MB / 0.8292 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4385, allocations: 0 / 0.8292 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4385, allocations: 0 / 0.8292 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.4386, allocations: 1.062 kB / 0.8292 GB, free: 19.09 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.0008811/0.4394, allocations: 0.6664 MB / 0.8299 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4395, allocations: 10.5 kB / 0.8299 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005311/0.44, allocations: 154.2 kB / 0.83 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.4403, allocations: 273.6 kB / 0.8303 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4403, allocations: 23.75 kB / 0.8303 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.4404, allocations: 38.38 kB / 0.8303 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.4409, allocations: 0.5304 MB / 0.8308 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.441, allocations: 6.062 kB / 0.8309 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.441, allocations: 12.12 kB / 0.8309 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/0.441, allocations: 37.52 kB / 0.8309 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.4415, allocations: 386.3 kB / 0.8313 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.4429, allocations: 2.374 MB / 0.8336 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.4433, allocations: 244.5 kB / 0.8338 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.4434, allocations: 105.3 kB / 0.8339 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.4434, allocations: 7.172 kB / 0.8339 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.4434, allocations: 36.81 kB / 0.834 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.4434, allocations: 0 / 0.834 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001328/0.4447, allocations: 0.9042 MB / 0.8348 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.4447, allocations: 53.59 kB / 0.8349 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.445, allocations: 301.8 kB / 0.8352 GB, free: 15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.445, allocations: 33.06 kB / 0.8352 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.4451, allocations: 230.6 kB / 0.8354 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.4451, allocations: 89.2 kB / 0.8355 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/0.4452, allocations: 63.14 kB / 0.8356 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.4452, allocations: 338.6 kB / 0.8359 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4453, allocations: 108.2 kB / 0.836 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.4455, allocations: 192.1 kB / 0.8362 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.4457, allocations: 319.3 kB / 0.8365 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4457, allocations: 0 / 0.8365 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004699/0.4462, allocations: 441.9 kB / 0.8369 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4462, allocations: 6.281 kB / 0.8369 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4462, allocations: 2.594 kB / 0.8369 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/0.4465, allocations: 97.16 kB / 0.837 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.4466, allocations: 67.83 kB / 0.8371 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.4481, allocations: 4.087 MB / 0.8411 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.4482, allocations: 8.453 kB / 0.8411 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4482, allocations: 15.16 kB / 0.8411 GB, free: 9.742 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.0001075/0.4483, allocations: 179.9 kB / 0.8413 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.4483, allocations: 36.56 kB / 0.8413 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.4484, allocations: 41.58 kB / 0.8413 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4484, allocations: 2.656 kB / 0.8413 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4484, allocations: 5.375 kB / 0.8414 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4484, allocations: 5.391 kB / 0.8414 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.4487, allocations: 365.4 kB / 0.8417 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4487, allocations: 0 / 0.8417 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.4488, allocations: 40.98 kB / 0.8417 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/0.4489, allocations: 95.48 kB / 0.8418 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4489, allocations: 4.969 kB / 0.8418 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.4502, allocations: 4.084 MB / 0.8458 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4502, allocations: 0.75 kB / 0.8458 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.4507, allocations: 0.5529 MB / 0.8464 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.4507, allocations: 46.66 kB / 0.8464 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4507, allocations: 5.812 kB / 0.8464 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.4508, allocations: 12.67 kB / 0.8464 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.4509, allocations: 23 kB / 0.8465 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4509, allocations: 13.88 kB / 0.8465 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000133/0.451, allocations: 208 kB / 0.8467 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.451, allocations: 0 / 0.8467 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002853/0.4513, allocations: 103.6 kB / 0.8468 GB, free: 4.809 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 7.561e-05/0.4514, allocations: 103.2 kB / 0.8469 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.4519, allocations: 0.5941 MB / 0.8474 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4519, allocations: 4.625 kB / 0.8474 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4521, allocations: 461.8 kB / 0.8479 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.4524, allocations: 80.66 kB / 0.848 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.4532, allocations: 0.7707 MB / 0.8487 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.4534, allocations: 0.8302 MB / 0.8495 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.4535, allocations: 24.81 kB / 0.8496 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.4535, allocations: 1.312 kB / 0.8496 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.008373/0.4619, allocations: 8.701 MB / 0.858 GB, free: 484 kB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.526688659097999] Failed to read output from testmodel.py, exit status != 0: 0.46733731706626713 0.47579145500000003 0.035478889 Calling exit ...