Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001414/0.001414, allocations: 93.06 kB / 19.65 MB, free: 276 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.001608/0.001608, allocations: 165 kB / 23.02 MB, free: 1.551 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 0.9961/0.9961, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8387/0.8387, allocations: 154.6 MB / 414.5 MB, free: 0.6562 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.502e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004372/0.004397, allocations: 2.54 MB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.005715, allocations: 0.9932 MB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.005834, allocations: 8.469 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.006338, allocations: 92.17 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.006577, allocations: 137.2 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.006765, allocations: 111.6 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.007033, allocations: 319.6 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.007364, allocations: 188.6 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.007517, allocations: 180.5 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.007747, allocations: 123.6 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.007776, allocations: 23.03 kB / 0.5249 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.007906, allocations: 83.8 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.007981, allocations: 99.72 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.008051, allocations: 79.83 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.008299, allocations: 223.2 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008301, allocations: 3.938 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.008302, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.008307, allocations: 0 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005168/0.008824, allocations: 0.5407 MB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.008855, allocations: 8.031 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.009237, allocations: 117.5 kB / 0.526 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.009443, allocations: 187.7 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.009456, allocations: 12.75 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.009481, allocations: 25.3 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.009754, allocations: 294.3 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.009765, allocations: 1.406 kB / 0.5265 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.009783, allocations: 8.375 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.009813, allocations: 24.3 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.009942, allocations: 93.31 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.01081, allocations: 1.241 MB / 0.5278 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.01095, allocations: 75.09 kB / 0.5279 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.01099, allocations: 15.69 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.011, allocations: 4 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01102, allocations: 41.33 kB / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.01102, allocations: 0 / 0.5279 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002925/0.01132, allocations: 120.5 kB / 0.5281 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01134, allocations: 51.41 kB / 0.5281 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.0115, allocations: 237.8 kB / 0.5283 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.01151, allocations: 25.7 kB / 0.5284 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01162, allocations: 218.9 kB / 0.5286 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.01164, allocations: 27.75 kB / 0.5286 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.01169, allocations: 47.3 kB / 0.5286 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.01183, allocations: 0.4923 MB / 0.5291 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.01187, allocations: 21.8 kB / 0.5291 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.01196, allocations: 112.7 kB / 0.5293 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01208, allocations: 141.2 kB / 0.5294 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01209, allocations: 0 / 0.5294 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001969/0.01228, allocations: 164.9 kB / 0.5295 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.0123, allocations: 5.906 kB / 0.5296 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.0123, allocations: 7.938 kB / 0.5296 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001518/0.01245, allocations: 34.08 kB / 0.5296 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/0.01253, allocations: 27.98 kB / 0.5296 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/0.01334, allocations: 1.748 MB / 0.5313 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.0134, allocations: 16.55 kB / 0.5313 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01341, allocations: 9.5 kB / 0.5313 GB, free: 6.414 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.0135, allocations: 164.5 kB / 0.5315 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.01353, allocations: 19.91 kB / 0.5315 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.01355, allocations: 14.59 kB / 0.5315 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01355, allocations: 3.938 kB / 0.5315 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01355, allocations: 0 / 0.5315 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01356, allocations: 5.047 kB / 0.5315 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.01385, allocations: 397 kB / 0.5319 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.01385, allocations: 0.875 kB / 0.5319 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.01387, allocations: 4 kB / 0.5319 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.487e-05/0.01396, allocations: 33.84 kB / 0.532 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.01397, allocations: 8.062 kB / 0.532 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006688/0.01463, allocations: 1.735 MB / 0.5337 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01464, allocations: 0 / 0.5337 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.01478, allocations: 243.4 kB / 0.5339 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.01481, allocations: 23.81 kB / 0.5339 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.01482, allocations: 4 kB / 0.5339 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.01488, allocations: 7.938 kB / 0.5339 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.0149, allocations: 7.984 kB / 0.5339 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.0149, allocations: 0 / 0.5339 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.895e-05/0.01498, allocations: 165.2 kB / 0.5341 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01498, allocations: 0 / 0.5341 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002123/0.01519, allocations: 59.84 kB / 0.5342 GB, free: 3.348 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.562e-05/0.01529, allocations: 104.2 kB / 0.5343 GB, free: 3.242 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.01559, allocations: 239.2 kB / 0.5345 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0156, allocations: 0 / 0.5345 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.0157, allocations: 202.2 kB / 0.5347 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01595, allocations: 29.97 kB / 0.5347 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.01667, allocations: 352.5 kB / 0.535 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.01672, allocations: 92.86 kB / 0.5351 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.417e-05/0.01678, allocations: 16.27 kB / 0.5351 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.0168, allocations: 16.5 kB / 0.5352 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.0168, allocations: 1.219 kB / 0.5352 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of Templates: time 0.003458/0.02026, allocations: 1.665 MB / 0.5368 GB, free: 0.6836 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9198072436265647]