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.001036/0.001036, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001455/0.001455, allocations: 181 kB / 23.36 MB, free: 1.133 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.092/1.092, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.9167/0.9167, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 2.074e-06/2.074e-06, allocations: 0 / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.896e-05, allocations: 3.297 kB / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.005738/0.005767, allocations: 3.339 MB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002644/0.008411, allocations: 1.27 MB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.008605, allocations: 11.94 kB / 484.6 MB, free: 2.305 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006214/0.009226, allocations: 131.8 kB / 484.8 MB, free: 2.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.009759, allocations: 245.2 kB / 485 MB, free: 1.938 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.01027, allocations: 201 kB / 485.2 MB, free: 1.742 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.01097, allocations: 0.6313 MB / 485.8 MB, free: 1.109 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.01149, allocations: 360.8 kB / 486.2 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.01191, allocations: 348.2 kB / 486.5 MB, free: 432 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/0.01242, allocations: 235.9 kB / 486.7 MB, free: 196 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.54e-05/0.01249, allocations: 36 kB / 486.8 MB, free: 160 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.01275, allocations: 104.4 kB / 486.9 MB, free: 56 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.01293, allocations: 172.8 kB / 487.1 MB, free: 15.88 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.01311, allocations: 155.7 kB / 487.2 MB, free: 15.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005564/0.01367, allocations: 398.7 kB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01368, allocations: 3.938 kB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01368, allocations: 0.75 kB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.01368, allocations: 0 / 487.6 MB, free: 15.34 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.001029/0.01471, allocations: 0.612 MB / 488.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.01475, allocations: 11.97 kB / 488.2 MB, free: 14.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.0158, allocations: 203.7 kB / 488.4 MB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.01622, allocations: 249.5 kB / 488.7 MB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.01625, allocations: 27.47 kB / 488.7 MB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.01632, allocations: 40.36 kB / 488.7 MB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.01692, allocations: 497.8 kB / 489.2 MB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01694, allocations: 192 / 489.2 MB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.01698, allocations: 12.38 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.75e-05/0.01705, allocations: 36.58 kB / 489.3 MB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.01731, allocations: 118.7 kB / 489.4 MB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.01911, allocations: 1.428 MB / 490.8 MB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.01948, allocations: 159.7 kB / 491 MB, free: 11.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.01957, allocations: 43.86 kB / 491 MB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.01958, allocations: 4 kB / 491 MB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.01961, allocations: 46.5 kB / 491.1 MB, free: 11.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.993e-06/0.01961, allocations: 0 / 491.1 MB, free: 11.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007226/0.02034, allocations: 266 kB / 491.3 MB, free: 11.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.02037, allocations: 56.84 kB / 491.4 MB, free: 11.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.02061, allocations: 252.9 kB / 491.6 MB, free: 11.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.02063, allocations: 33.7 kB / 491.7 MB, free: 11.08 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.02077, allocations: 224.7 kB / 491.9 MB, free: 10.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.02083, allocations: 72.16 kB / 491.9 MB, free: 10.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.02093, allocations: 57.64 kB / 492 MB, free: 10.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.02103, allocations: 335.4 kB / 492.3 MB, free: 10.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.0211, allocations: 27.98 kB / 492.4 MB, free: 10.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.02122, allocations: 124.1 kB / 492.5 MB, free: 10.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.02144, allocations: 168 kB / 492.6 MB, free: 10.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02145, allocations: 0 / 492.6 MB, free: 10.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004042/0.02185, allocations: 217.4 kB / 492.9 MB, free: 9.789 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.02187, allocations: 8.906 kB / 492.9 MB, free: 9.781 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.02188, allocations: 4 kB / 492.9 MB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.02222, allocations: 74.78 kB / 492.9 MB, free: 9.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.0225, allocations: 77.36 kB / 493 MB, free: 9.629 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.02419, allocations: 2.406 MB / 495.4 MB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.02436, allocations: 27.78 kB / 495.4 MB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.02438, allocations: 12.75 kB / 495.5 MB, free: 7 MB / 458.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 (33): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.02451, allocations: 138.1 kB / 495.6 MB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.02456, allocations: 19.98 kB / 495.6 MB, free: 6.836 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.02462, allocations: 34.11 kB / 495.6 MB, free: 6.801 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.02462, allocations: 9.375 kB / 495.7 MB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.02463, allocations: 0 / 495.7 MB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02463, allocations: 3.984 kB / 495.7 MB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.02493, allocations: 178.8 kB / 495.8 MB, free: 6.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.02493, allocations: 1.094 kB / 495.8 MB, free: 6.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.02514, allocations: 41.09 kB / 495.9 MB, free: 6.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.02542, allocations: 68.66 kB / 495.9 MB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.02543, allocations: 10.45 kB / 496 MB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.02701, allocations: 2.417 MB / 498.4 MB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02701, allocations: 1.188 kB / 498.4 MB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.02741, allocations: 276.5 kB / 498.6 MB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.018e-05/0.0275, allocations: 39.73 kB / 498.7 MB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.02753, allocations: 4 kB / 498.7 MB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.02769, allocations: 19.92 kB / 498.7 MB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.02773, allocations: 16.59 kB / 498.7 MB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.02774, allocations: 8 kB / 498.7 MB, free: 3.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.02781, allocations: 88.2 kB / 498.8 MB, free: 3.414 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02781, allocations: 0 / 498.8 MB, free: 3.414 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.02809, allocations: 107.8 kB / 498.9 MB, free: 3.309 MB / 458.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 (17): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,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 9.711e-05/0.02818, allocations: 79.2 kB / 499 MB, free: 3.223 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.02852, allocations: 358.1 kB / 499.3 MB, free: 2.848 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.02852, allocations: 8 kB / 499.4 MB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.02868, allocations: 295.9 kB / 499.6 MB, free: 2.523 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.02894, allocations: 73.08 kB / 499.7 MB, free: 2.453 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009006/0.02985, allocations: 0.6379 MB / 0.4886 GB, free: 1.809 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.075e-05/0.02992, allocations: 124.3 kB / 0.4887 GB, free: 1.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.237e-05/0.03001, allocations: 43.08 kB / 0.4888 GB, free: 1.637 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.03014, allocations: 107.8 kB / 0.4889 GB, free: 1.531 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03015, allocations: 1.031 kB / 0.4889 GB, free: 1.531 MB / 458.7 MB Notification: Performance of Templates: time 0.005908/0.03605, allocations: 4.074 MB / 0.4929 GB, free: 13.73 MB / 474.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.922599968034774]