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.00136/0.00136, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001479/0.001479, allocations: 173.4 kB / 22.46 MB, free: 5.355 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.402/1.402, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 1.191/1.191, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 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.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 4.448e-06/4.448e-06, allocations: 4 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.533e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.006189/0.006225, allocations: 4.211 MB / 0.6227 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.009402, allocations: 1.819 MB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.0096, allocations: 11.94 kB / 0.6245 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.01139, allocations: 0.5914 MB / 0.625 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.01206, allocations: 278.2 kB / 0.6253 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000699/0.01276, allocations: 262.3 kB / 0.6256 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.01353, allocations: 0.6266 MB / 0.6262 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.01411, allocations: 339.1 kB / 0.6265 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.01454, allocations: 355.2 kB / 0.6268 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.01501, allocations: 239.4 kB / 0.6271 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.01508, allocations: 36 kB / 0.6271 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.01552, allocations: 239.2 kB / 0.6273 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.01569, allocations: 167.5 kB / 0.6275 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.01589, allocations: 151.7 kB / 0.6276 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008068/0.0167, allocations: 0.6269 MB / 0.6282 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.0167, allocations: 3.938 kB / 0.6282 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.0167, allocations: 0 / 0.6282 GB, free: 10.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.01671, allocations: 4 kB / 0.6282 GB, free: 10.65 MB / 0.545 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.001287/0.018, allocations: 0.6493 MB / 0.6289 GB, free: 9.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.01803, allocations: 12.03 kB / 0.6289 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.01908, allocations: 160.5 kB / 0.629 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01957, allocations: 272.5 kB / 0.6293 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.01959, allocations: 25.36 kB / 0.6293 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.01966, allocations: 36.38 kB / 0.6294 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/0.02061, allocations: 0.6825 MB / 0.63 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.02063, allocations: 8.188 kB / 0.63 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.02067, allocations: 12.38 kB / 0.63 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/0.02073, allocations: 36.58 kB / 0.6301 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006328/0.02136, allocations: 386.3 kB / 0.6304 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.02373, allocations: 1.664 MB / 0.6321 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.02428, allocations: 246.4 kB / 0.6323 GB, free: 6.285 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.02445, allocations: 96.8 kB / 0.6324 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.02447, allocations: 8 kB / 0.6324 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.02451, allocations: 30.56 kB / 0.6324 GB, free: 6.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.02452, allocations: 0 / 0.6324 GB, free: 6.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002223/0.02674, allocations: 0.897 MB / 0.6333 GB, free: 5.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.02679, allocations: 59.41 kB / 0.6334 GB, free: 5.133 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.02709, allocations: 269.8 kB / 0.6336 GB, free: 4.867 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.02712, allocations: 33.7 kB / 0.6337 GB, free: 4.828 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.02729, allocations: 240 kB / 0.6339 GB, free: 4.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.02736, allocations: 87.27 kB / 0.634 GB, free: 4.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02747, allocations: 61.98 kB / 0.634 GB, free: 4.434 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.02763, allocations: 342.8 kB / 0.6344 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.02781, allocations: 108.5 kB / 0.6345 GB, free: 3.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.02807, allocations: 195.6 kB / 0.6346 GB, free: 3.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.02853, allocations: 324.8 kB / 0.635 GB, free: 3.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02853, allocations: 4 kB / 0.635 GB, free: 3.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007971/0.02933, allocations: 434.2 kB / 0.6354 GB, free: 2.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.02935, allocations: 8 kB / 0.6354 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.02936, allocations: 4 kB / 0.6354 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/0.02974, allocations: 94.48 kB / 0.6355 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.03004, allocations: 67.89 kB / 0.6355 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.03363, allocations: 3.997 MB / 0.6394 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.03388, allocations: 11.98 kB / 0.6395 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.03391, allocations: 19.94 kB / 0.6395 GB, free: 14.45 MB / 0.5606 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.0002397/0.03415, allocations: 178.6 kB / 0.6396 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.03421, allocations: 31.81 kB / 0.6397 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.03429, allocations: 34.27 kB / 0.6397 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.03429, allocations: 4.094 kB / 0.6397 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.0343, allocations: 4 kB / 0.6397 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.0343, allocations: 0 / 0.6397 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.03471, allocations: 293.1 kB / 0.64 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.03471, allocations: 0 / 0.64 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.03492, allocations: 31.98 kB / 0.64 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/0.03524, allocations: 98.44 kB / 0.6401 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.03526, allocations: 4 kB / 0.6401 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.0387, allocations: 3.993 MB / 0.644 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.03871, allocations: 4.031 kB / 0.644 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.0396, allocations: 0.5552 MB / 0.6446 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.03972, allocations: 43.83 kB / 0.6446 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.03976, allocations: 4.203 kB / 0.6446 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.03997, allocations: 16 kB / 0.6446 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.04003, allocations: 19.97 kB / 0.6446 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.04005, allocations: 4 kB / 0.6447 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002336/0.04028, allocations: 189.2 kB / 0.6448 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04028, allocations: 0 / 0.6448 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004902/0.04077, allocations: 103.9 kB / 0.6449 GB, free: 8.48 MB / 0.5606 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.0001577/0.04093, allocations: 107.2 kB / 0.645 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000892/0.04182, allocations: 0.5818 MB / 0.6456 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.04182, allocations: 3.938 kB / 0.6456 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.04237, allocations: 460.6 kB / 0.646 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.04285, allocations: 73.02 kB / 0.6461 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.04403, allocations: 0.7003 MB / 0.6468 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.04431, allocations: 220 kB / 0.647 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.04448, allocations: 54.94 kB / 0.6471 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.04455, allocations: 24.5 kB / 0.6471 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of SimCode: time 3.4e-07/0.04455, allocations: 0 / 0.6471 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.009813/0.05436, allocations: 4.327 MB / 0.6513 GB, free: 1.922 MB / 0.5606 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.746131040155888] Failed to read output from testmodel.py, exit status != 0: 0.06333370506763458 0.078118002 0.058363349 Calling exit ...