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.0007301/0.0007301, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001919, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007509/0.0007509, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.001908, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.049/1.049, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08887/1.138, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.819/0.819, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2755/1.095, allocations: 49.05 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [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 3.196e-06/3.196e-06, allocations: 4 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.764e-05, allocations: 2.312 kB / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.RCModel): time 0.004373/0.004391, allocations: 3.396 MB / 452.5 MB, free: 1.949 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.00603, allocations: 1.293 MB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.006172, allocations: 16.66 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.006528, allocations: 157.1 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.00684, allocations: 279.5 kB / 454.3 MB, free: 228 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.00715, allocations: 205.5 kB / 454.5 MB, free: 24 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.007705, allocations: 0.69 MB / 455.2 MB, free: 15.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.008044, allocations: 325.8 kB / 455.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.0084, allocations: 395.1 kB / 455.9 MB, free: 14.62 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.008773, allocations: 270.2 kB / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.008817, allocations: 36 kB / 456.2 MB, free: 14.33 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.009007, allocations: 111.7 kB / 456.3 MB, free: 14.22 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.009113, allocations: 139.6 kB / 456.4 MB, free: 14.08 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.009215, allocations: 129 kB / 456.5 MB, free: 13.96 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.009547, allocations: 374.7 kB / 456.9 MB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.009557, allocations: 0 / 456.9 MB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009558, allocations: 0 / 456.9 MB, free: 13.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.009568, allocations: 0.6562 kB / 456.9 MB, free: 13.59 MB / 442.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.0007492/0.01032, allocations: 0.6994 MB / 457.6 MB, free: 12.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.01035, allocations: 8.031 kB / 457.6 MB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006333/0.01098, allocations: 275.6 kB / 457.9 MB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.01126, allocations: 262.3 kB / 458.1 MB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.01128, allocations: 27.03 kB / 458.2 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.01132, allocations: 36.98 kB / 458.2 MB, free: 12.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.01168, allocations: 497.8 kB / 458.7 MB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01169, allocations: 0.8125 kB / 458.7 MB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.01172, allocations: 20.36 kB / 458.7 MB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.01176, allocations: 33.19 kB / 458.7 MB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.01189, allocations: 117.6 kB / 458.8 MB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01304, allocations: 1.428 MB / 460.3 MB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.01327, allocations: 164.7 kB / 460.4 MB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.01331, allocations: 41.47 kB / 460.5 MB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.01333, allocations: 4.719 kB / 460.5 MB, free: 9.828 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.01335, allocations: 30.56 kB / 460.5 MB, free: 9.789 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.01335, allocations: 0.5938 kB / 460.5 MB, free: 9.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005162/0.01386, allocations: 281.9 kB / 460.8 MB, free: 9.508 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.01389, allocations: 55.34 kB / 460.8 MB, free: 9.441 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01407, allocations: 252.9 kB / 461.1 MB, free: 9.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.01409, allocations: 38.39 kB / 461.1 MB, free: 9.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.01419, allocations: 220 kB / 461.3 MB, free: 8.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.01423, allocations: 80.19 kB / 461.4 MB, free: 8.848 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.01429, allocations: 57.64 kB / 461.5 MB, free: 8.785 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.01438, allocations: 335.9 kB / 461.8 MB, free: 8.449 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.01442, allocations: 28.88 kB / 461.8 MB, free: 8.422 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.01451, allocations: 115.3 kB / 461.9 MB, free: 8.273 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01466, allocations: 184.5 kB / 462.1 MB, free: 8.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01466, allocations: 0.5938 kB / 462.1 MB, free: 8.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002392/0.0149, allocations: 220.3 kB / 462.3 MB, free: 7.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01491, allocations: 4 kB / 462.3 MB, free: 7.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01492, allocations: 5.031 kB / 462.3 MB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.01513, allocations: 76.34 kB / 462.4 MB, free: 7.754 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.0153, allocations: 71.91 kB / 462.5 MB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.01637, allocations: 2.424 MB / 464.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.01647, allocations: 28.72 kB / 464.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01648, allocations: 4 kB / 464.9 MB, free: 5.039 MB / 442.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 8.396e-05/0.01657, allocations: 135.6 kB / 465.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.0166, allocations: 27.97 kB / 465.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.01663, allocations: 35.2 kB / 465.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01664, allocations: 7.938 kB / 465.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01664, allocations: 1.656 kB / 465.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01664, allocations: 0 / 465.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.01681, allocations: 173.6 kB / 465.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01681, allocations: 0 / 465.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01693, allocations: 48.66 kB / 465.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.658e-05/0.01698, allocations: 27.86 kB / 465.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.01713, allocations: 74.22 kB / 465.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.01714, allocations: 0 / 465.5 MB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009404/0.01808, allocations: 2.421 MB / 467.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01808, allocations: 1.156 kB / 467.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.01831, allocations: 281.8 kB / 468.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01833, allocations: 4 kB / 468.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.01841, allocations: 12.88 kB / 468.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.01843, allocations: 15.97 kB / 468.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.01844, allocations: 9.281 kB / 468.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.0185, allocations: 86.75 kB / 468.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0185, allocations: 0 / 468.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.01874, allocations: 116.6 kB / 468.4 MB, free: 1.348 MB / 442.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 7.615e-05/0.01881, allocations: 86.19 kB / 468.5 MB, free: 1.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.01911, allocations: 364.6 kB / 468.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.01911, allocations: 5.125 kB / 468.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.01928, allocations: 305 kB / 469.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.01968, allocations: 0.6218 MB / 469.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.02223, allocations: 0.6357 MB / 470.4 MB, free: 15.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.115e-05/0.0223, allocations: 125.8 kB / 470.5 MB, free: 15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.662e-05/0.02239, allocations: 33.55 kB / 470.6 MB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.02253, allocations: 111.3 kB / 470.7 MB, free: 14.87 MB / 458.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02253, allocations: 0 / 470.7 MB, free: 14.87 MB / 458.7 MB Notification: Performance of Templates: time 0.005821/0.02835, allocations: 4.243 MB / 474.9 MB, free: 10.92 MB / 458.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.5777664352208376]