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.001458/0.001458, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001059/0.001059, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7882/0.7882, allocations: 154.6 MB / 414.9 MB, free: 0.6797 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.593e-06/1.593e-06, allocations: 0 / 0.5203 GB, free: 1.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.987e-05, allocations: 2.859 kB / 0.5203 GB, free: 1.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004667/0.004686, allocations: 4.44 MB / 0.5247 GB, free: 13.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.007224, allocations: 1.896 MB / 0.5265 GB, free: 11.11 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.007414, allocations: 11.94 kB / 0.5265 GB, free: 11.1 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.008308, allocations: 0.6049 MB / 0.5271 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.008749, allocations: 280.8 kB / 0.5274 GB, free: 10.22 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.009156, allocations: 255.5 kB / 0.5276 GB, free: 9.973 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.009659, allocations: 0.6305 MB / 0.5282 GB, free: 9.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.01009, allocations: 343.1 kB / 0.5286 GB, free: 9.004 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.01037, allocations: 355.2 kB / 0.5289 GB, free: 8.656 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.01072, allocations: 251.3 kB / 0.5291 GB, free: 8.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.01076, allocations: 36 kB / 0.5292 GB, free: 8.375 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.01103, allocations: 235.8 kB / 0.5294 GB, free: 8.145 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.01115, allocations: 168 kB / 0.5296 GB, free: 7.98 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.01127, allocations: 151.7 kB / 0.5297 GB, free: 7.832 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.01172, allocations: 474.9 kB / 0.5302 GB, free: 7.367 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.01172, allocations: 1.094 kB / 0.5302 GB, free: 7.367 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01172, allocations: 4 kB / 0.5302 GB, free: 7.363 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.01173, allocations: 0 / 0.5302 GB, free: 7.363 MB / 458.7 MB 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.0007904/0.01252, allocations: 0.7596 MB / 0.5309 GB, free: 6.566 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.01255, allocations: 9.062 kB / 0.5309 GB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/0.01316, allocations: 225.3 kB / 0.5311 GB, free: 6.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.01348, allocations: 288.5 kB / 0.5314 GB, free: 6.039 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.0135, allocations: 21.38 kB / 0.5314 GB, free: 6.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.01354, allocations: 36.38 kB / 0.5315 GB, free: 5.984 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.01398, allocations: 0.5228 MB / 0.532 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01399, allocations: 8.109 kB / 0.532 GB, free: 5.375 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.01402, allocations: 16.38 kB / 0.532 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.01406, allocations: 32.58 kB / 0.532 GB, free: 5.328 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.0143, allocations: 166.1 kB / 0.5322 GB, free: 5.168 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01581, allocations: 2.041 MB / 0.5342 GB, free: 3.047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.01611, allocations: 184.1 kB / 0.5343 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.89e-05/0.01619, allocations: 63.64 kB / 0.5344 GB, free: 2.789 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.0162, allocations: 8.625 kB / 0.5344 GB, free: 2.781 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.01622, allocations: 33.39 kB / 0.5344 GB, free: 2.738 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.01622, allocations: 6.75 kB / 0.5345 GB, free: 2.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.001143/0.01736, allocations: 0.6772 MB / 0.5351 GB, free: 2.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.01739, allocations: 55.41 kB / 0.5352 GB, free: 1.949 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.01758, allocations: 324.1 kB / 0.5355 GB, free: 1.621 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.0176, allocations: 26.86 kB / 0.5355 GB, free: 1.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01771, allocations: 282.8 kB / 0.5358 GB, free: 1.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.01775, allocations: 87.27 kB / 0.5359 GB, free: 1.223 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.01782, allocations: 68.27 kB / 0.5359 GB, free: 1.145 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.01794, allocations: 0.5117 MB / 0.5364 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.01801, allocations: 45.31 kB / 0.5365 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.01814, allocations: 169.7 kB / 0.5366 GB, free: 368 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.01837, allocations: 225.8 kB / 0.5368 GB, free: 96 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01837, allocations: 0 / 0.5368 GB, free: 96 kB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004973/0.01887, allocations: 336.1 kB / 0.5372 GB, free: 15.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01888, allocations: 10.81 kB / 0.5372 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01889, allocations: 4 kB / 0.5372 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.01923, allocations: 128.2 kB / 0.5373 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01938, allocations: 65.19 kB / 0.5374 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.02159, allocations: 5.295 MB / 0.5425 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.0217, allocations: 12 kB / 0.5425 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.02171, allocations: 12 kB / 0.5426 GB, free: 9.859 MB / 474.7 MB 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 9.785e-05/0.02181, allocations: 183 kB / 0.5427 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.02185, allocations: 35.81 kB / 0.5428 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.02189, allocations: 38.27 kB / 0.5428 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.02189, allocations: 5.594 kB / 0.5428 GB, free: 9.594 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.02189, allocations: 0 / 0.5428 GB, free: 9.594 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0219, allocations: 7.984 kB / 0.5428 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.02211, allocations: 260.5 kB / 0.5431 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02211, allocations: 1.094 kB / 0.5431 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.02222, allocations: 35.92 kB / 0.5431 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/0.02247, allocations: 120.9 kB / 0.5432 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.02249, allocations: 8 kB / 0.5432 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.0247, allocations: 5.28 MB / 0.5484 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.0247, allocations: 0 / 0.5484 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.0251, allocations: 440.3 kB / 0.5488 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.02517, allocations: 43.8 kB / 0.5488 GB, free: 2.988 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.02519, allocations: 8 kB / 0.5488 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02529, allocations: 13.17 kB / 0.5489 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.02533, allocations: 19.97 kB / 0.5489 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.02534, allocations: 4 kB / 0.5489 GB, free: 2.945 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.02546, allocations: 216.4 kB / 0.5491 GB, free: 2.738 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02546, allocations: 3.938 kB / 0.5491 GB, free: 2.734 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.02574, allocations: 99.94 kB / 0.5492 GB, free: 2.637 MB / 474.7 MB 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.0001014/0.02584, allocations: 99.25 kB / 0.5493 GB, free: 2.527 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.02636, allocations: 0.6683 MB / 0.5499 GB, free: 1.805 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02636, allocations: 0.9688 kB / 0.5499 GB, free: 1.805 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.02662, allocations: 0.5849 MB / 0.5505 GB, free: 1.164 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.02694, allocations: 80.86 kB / 0.5506 GB, free: 1.098 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02794, allocations: 0.658 MB / 0.5512 GB, free: 440 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.02802, allocations: 129.1 kB / 0.5513 GB, free: 292 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.02813, allocations: 53.81 kB / 0.5514 GB, free: 244 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.02817, allocations: 24.44 kB / 0.5514 GB, free: 220 kB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02817, allocations: 5.156 kB / 0.5514 GB, free: 216 kB / 474.7 MB Notification: Performance of Templates: time 0.006327/0.0345, allocations: 4.403 MB / 0.5557 GB, free: 11.99 MB / 490.7 MB " [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.8790828990750015]