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.0006922/0.0006922, allocations: 100.4 kB / 19.7 MB, free: 448 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.000702/0.000702, allocations: 210.4 kB / 22.99 MB, free: 2.977 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.8439/0.8439, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7245/0.7245, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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.0008437/0.0008437, allocations: 66.27 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4258, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.003939/0.4297, allocations: 4.285 MB / 0.8232 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.4316, allocations: 1.814 MB / 0.825 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4318, allocations: 17.25 kB / 0.825 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.4326, allocations: 0.5998 MB / 0.8256 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.433, allocations: 259.6 kB / 0.8258 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.4333, allocations: 259.7 kB / 0.826 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.4338, allocations: 0.6186 MB / 0.8267 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.4343, allocations: 335.7 kB / 0.827 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.4345, allocations: 253.8 kB / 0.8272 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.4348, allocations: 270 kB / 0.8275 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.4349, allocations: 37.5 kB / 0.8275 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.4351, allocations: 230.2 kB / 0.8277 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4352, allocations: 152.3 kB / 0.8279 GB, free: 12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.4354, allocations: 187.2 kB / 0.8281 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.4359, allocations: 0.6113 MB / 0.8286 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4359, allocations: 3.938 kB / 0.8287 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4359, allocations: 0 / 0.8287 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4359, allocations: 0 / 0.8287 GB, free: 11.7 MB / 0.6198 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.0009403/0.4369, allocations: 0.6669 MB / 0.8293 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4369, allocations: 9.375 kB / 0.8293 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.4374, allocations: 147.7 kB / 0.8295 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.4378, allocations: 286 kB / 0.8297 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.4378, allocations: 26.83 kB / 0.8298 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.4379, allocations: 30.16 kB / 0.8298 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006569/0.4385, allocations: 0.6853 MB / 0.8305 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4385, allocations: 0.6562 kB / 0.8305 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.4386, allocations: 16.44 kB / 0.8305 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.4386, allocations: 33.25 kB / 0.8305 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.4392, allocations: 388.8 kB / 0.8309 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.4407, allocations: 1.669 MB / 0.8325 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.4411, allocations: 244.4 kB / 0.8327 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4412, allocations: 97.47 kB / 0.8328 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.4412, allocations: 2.156 kB / 0.8328 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4413, allocations: 37.53 kB / 0.8329 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4413, allocations: 0 / 0.8329 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001326/0.4426, allocations: 0.8923 MB / 0.8337 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.4426, allocations: 58.03 kB / 0.8338 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4428, allocations: 272.7 kB / 0.8341 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4429, allocations: 31.5 kB / 0.8341 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.443, allocations: 249.4 kB / 0.8343 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.443, allocations: 84.28 kB / 0.8344 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.4431, allocations: 62.72 kB / 0.8345 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.4432, allocations: 341.7 kB / 0.8348 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4433, allocations: 99.41 kB / 0.8349 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4434, allocations: 194.3 kB / 0.8351 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.4437, allocations: 317 kB / 0.8354 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4437, allocations: 1.625 kB / 0.8354 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004672/0.4442, allocations: 439.3 kB / 0.8358 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4442, allocations: 6.203 kB / 0.8358 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4442, allocations: 3.75 kB / 0.8358 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/0.4444, allocations: 96.09 kB / 0.8359 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.4446, allocations: 61.11 kB / 0.8359 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.4465, allocations: 4.016 MB / 0.8399 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.4466, allocations: 8.844 kB / 0.8399 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.4466, allocations: 17.34 kB / 0.8399 GB, free: 3.02 MB / 0.6198 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.0001333/0.4468, allocations: 181.3 kB / 0.8401 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.4468, allocations: 30.28 kB / 0.8401 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.4468, allocations: 36.56 kB / 0.8401 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4468, allocations: 3.344 kB / 0.8401 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4468, allocations: 5.312 kB / 0.8401 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4468, allocations: 5.203 kB / 0.8401 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.4471, allocations: 284.4 kB / 0.8404 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4471, allocations: 0 / 0.8404 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.4472, allocations: 41.92 kB / 0.8405 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001687/0.4473, allocations: 96.11 kB / 0.8405 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4474, allocations: 1 kB / 0.8405 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.4492, allocations: 4 MB / 0.8445 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4492, allocations: 4.062 kB / 0.8445 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.4497, allocations: 0.5498 MB / 0.845 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.4498, allocations: 47 kB / 0.845 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4498, allocations: 5.906 kB / 0.845 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.4499, allocations: 11.92 kB / 0.8451 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.4499, allocations: 24.02 kB / 0.8451 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.45, allocations: 8.156 kB / 0.8451 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001237/0.4501, allocations: 193.8 kB / 0.8453 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4501, allocations: 0 / 0.8453 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002691/0.4503, allocations: 93.97 kB / 0.8454 GB, free: 14.27 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.757e-05/0.4504, allocations: 107.7 kB / 0.8455 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.451, allocations: 0.5986 MB / 0.846 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.451, allocations: 0 / 0.846 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.4513, allocations: 461.4 kB / 0.8465 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4516, allocations: 63.34 kB / 0.8465 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.4524, allocations: 0.7652 MB / 0.8473 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.4526, allocations: 229.4 kB / 0.8475 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.4527, allocations: 23.88 kB / 0.8475 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.4527, allocations: 0 / 0.8475 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.007392/0.46, allocations: 8.696 MB / 0.856 GB, free: 8.293 MB / 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.464494680985808] Failed to read output from testmodel.py, exit status != 0: 0.4647576962597668 0.473154677 0.035233308000000005 Calling exit ...