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.00113/0.00113, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001191/0.001191, 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7849/0.7849, allocations: 154.6 MB / 414.9 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.383e-06/1.383e-06, allocations: 0 / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.724e-05, allocations: 6 kB / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00312/0.003137, allocations: 3.164 MB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004544, allocations: 1.36 MB / 0.5247 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.00465, allocations: 11.94 kB / 0.5247 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.00526, allocations: 336.2 kB / 0.5251 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.005488, allocations: 153 kB / 0.5252 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.005693, allocations: 136.5 kB / 0.5253 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.005961, allocations: 314.8 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.006262, allocations: 185.4 kB / 0.5258 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.006407, allocations: 183.5 kB / 0.526 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.00663, allocations: 124.8 kB / 0.5261 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.006657, allocations: 20 kB / 0.5261 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.006821, allocations: 151.6 kB / 0.5263 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.006894, allocations: 85.19 kB / 0.5263 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.006962, allocations: 79.83 kB / 0.5264 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.007242, allocations: 263.2 kB / 0.5267 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.007244, allocations: 0 / 0.5267 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007245, allocations: 0.7812 kB / 0.5267 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.007249, allocations: 0 / 0.5267 GB, free: 12.01 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.0005501/0.007799, allocations: 0.554 MB / 0.5272 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.007832, allocations: 12.02 kB / 0.5272 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.008285, allocations: 120.5 kB / 0.5273 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.00849, allocations: 184.8 kB / 0.5275 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.008511, allocations: 12.75 kB / 0.5275 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.008534, allocations: 20.88 kB / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.008817, allocations: 303.5 kB / 0.5278 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.008825, allocations: 192 / 0.5278 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.008844, allocations: 8.375 kB / 0.5278 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.008877, allocations: 24.8 kB / 0.5279 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.009006, allocations: 85.78 kB / 0.528 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.009874, allocations: 1.238 MB / 0.5292 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.01002, allocations: 75.66 kB / 0.5292 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.01006, allocations: 27.16 kB / 0.5293 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.01006, allocations: 4 kB / 0.5293 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.01009, allocations: 37.33 kB / 0.5293 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.01009, allocations: 0 / 0.5293 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002794/0.01037, allocations: 117.2 kB / 0.5294 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.01039, allocations: 51.41 kB / 0.5295 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.01053, allocations: 237.8 kB / 0.5297 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01055, allocations: 28.33 kB / 0.5297 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.01063, allocations: 214.7 kB / 0.5299 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.01065, allocations: 27.75 kB / 0.5299 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.01069, allocations: 39.36 kB / 0.53 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.01081, allocations: 0.4962 MB / 0.5305 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.01084, allocations: 8 kB / 0.5305 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.01091, allocations: 116.8 kB / 0.5306 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.01102, allocations: 148.6 kB / 0.5307 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01102, allocations: 4 kB / 0.5307 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001778/0.0112, allocations: 159.7 kB / 0.5309 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.01121, allocations: 4 kB / 0.5309 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01122, allocations: 4 kB / 0.5309 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.01138, allocations: 38.25 kB / 0.5309 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.01145, allocations: 31.92 kB / 0.531 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/0.01217, allocations: 1.741 MB / 0.5327 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.01223, allocations: 12.67 kB / 0.5327 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01224, allocations: 8 kB / 0.5327 GB, free: 5.395 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.427e-05/0.01232, allocations: 177.8 kB / 0.5329 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01234, allocations: 15.91 kB / 0.5329 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.01236, allocations: 14.97 kB / 0.5329 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01236, allocations: 7.938 kB / 0.5329 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01236, allocations: 0 / 0.5329 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01237, allocations: 4.031 kB / 0.5329 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.01268, allocations: 402.4 kB / 0.5333 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.01268, allocations: 0 / 0.5333 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.0127, allocations: 8.062 kB / 0.5333 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.635e-05/0.0128, allocations: 37.84 kB / 0.5333 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.01281, allocations: 0 / 0.5333 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006498/0.01346, allocations: 1.728 MB / 0.535 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01346, allocations: 4 kB / 0.535 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.01359, allocations: 247.4 kB / 0.5352 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01362, allocations: 15.95 kB / 0.5353 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.637e-06/0.01363, allocations: 0 / 0.5353 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.01368, allocations: 14.36 kB / 0.5353 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.0137, allocations: 0 / 0.5353 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.0137, allocations: 8 kB / 0.5353 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.297e-05/0.01378, allocations: 165.3 kB / 0.5354 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01378, allocations: 0 / 0.5354 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001961/0.01397, allocations: 59.84 kB / 0.5355 GB, free: 2.316 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 6.817e-05/0.01404, allocations: 92.66 kB / 0.5356 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.01428, allocations: 246.9 kB / 0.5358 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01428, allocations: 1.281 kB / 0.5358 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.01437, allocations: 193.5 kB / 0.536 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01459, allocations: 27.17 kB / 0.536 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.01522, allocations: 363.7 kB / 0.5364 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.175e-05/0.01527, allocations: 91.95 kB / 0.5365 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.01533, allocations: 17.11 kB / 0.5365 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.01535, allocations: 16.5 kB / 0.5365 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01535, allocations: 0 / 0.5365 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of Templates: time 0.003164/0.01852, allocations: 1.671 MB / 0.5381 GB, free: 15.65 MB / 0.5105 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.834663138957694]