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.0009602/0.0009602, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001036/0.001036, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9167/0.9167, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7428/0.7428, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.583e-06/1.583e-06, allocations: 0.9844 kB / 0.5207 GB, free: 2.004 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.479e-05, allocations: 2.312 kB / 0.5207 GB, free: 2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002843/0.002858, allocations: 2.526 MB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003941, allocations: 0.9913 MB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.57e-05/0.004027, allocations: 5.469 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.004366, allocations: 95.39 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.004558, allocations: 144.1 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.004699, allocations: 105 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.004928, allocations: 322.8 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.005166, allocations: 181.9 kB / 0.525 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.005299, allocations: 187.5 kB / 0.5252 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.005497, allocations: 119.7 kB / 0.5253 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.005523, allocations: 24.8 kB / 0.5253 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.00563, allocations: 83.8 kB / 0.5254 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.005693, allocations: 93.08 kB / 0.5255 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.005749, allocations: 75.83 kB / 0.5255 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.005954, allocations: 231.2 kB / 0.5258 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.005955, allocations: 0 / 0.5258 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.31e-07/0.005955, allocations: 1.344 kB / 0.5258 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.005958, allocations: 0 / 0.5258 GB, free: 12.85 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.0004585/0.006417, allocations: 0.5358 MB / 0.5263 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.006449, allocations: 13.88 kB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.006761, allocations: 108.6 kB / 0.5264 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.006924, allocations: 192.3 kB / 0.5266 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.006936, allocations: 16.75 kB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.006953, allocations: 16.38 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.007157, allocations: 286.3 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.007165, allocations: 1.031 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.007179, allocations: 8.375 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.007203, allocations: 24.3 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.007278, allocations: 65.77 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.007986, allocations: 1.235 MB / 0.5282 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.008333, allocations: 75.02 kB / 0.5283 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.008354, allocations: 19.62 kB / 0.5283 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.008362, allocations: 8.5 kB / 0.5283 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.008383, allocations: 41.81 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.008385, allocations: 1.5 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002088/0.008594, allocations: 105.3 kB / 0.5284 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.008613, allocations: 51.41 kB / 0.5285 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.008717, allocations: 240.1 kB / 0.5287 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.008725, allocations: 25.7 kB / 0.5287 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.008796, allocations: 214.7 kB / 0.5289 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.008811, allocations: 31.73 kB / 0.529 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.008848, allocations: 39.36 kB / 0.529 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.008945, allocations: 0.4923 MB / 0.5295 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.008962, allocations: 14.73 kB / 0.5295 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.009019, allocations: 112.8 kB / 0.5296 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.754e-05/0.009107, allocations: 134.6 kB / 0.5297 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009109, allocations: 0 / 0.5297 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001369/0.009245, allocations: 155.8 kB / 0.5299 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.009257, allocations: 8 kB / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.009261, allocations: 0 / 0.5299 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.009392, allocations: 38.41 kB / 0.5299 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.465e-05/0.009446, allocations: 27.94 kB / 0.53 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006289/0.01008, allocations: 1.73 MB / 0.5316 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.01013, allocations: 17.34 kB / 0.5317 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.01013, allocations: 4.312 kB / 0.5317 GB, free: 6.348 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 6.953e-05/0.0102, allocations: 165.1 kB / 0.5318 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.01022, allocations: 19.91 kB / 0.5318 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.179e-05/0.01024, allocations: 14.16 kB / 0.5319 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.52e-07/0.01024, allocations: 0 / 0.5319 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01024, allocations: 8.719 kB / 0.5319 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01024, allocations: 3.984 kB / 0.5319 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.01048, allocations: 351.3 kB / 0.5322 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01048, allocations: 3.938 kB / 0.5322 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.01049, allocations: 7.984 kB / 0.5322 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.49e-05/0.01058, allocations: 37.17 kB / 0.5323 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.01058, allocations: 1.219 kB / 0.5323 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006135/0.0112, allocations: 1.719 MB / 0.5339 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.0112, allocations: 0 / 0.5339 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.01132, allocations: 242.3 kB / 0.5342 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.01134, allocations: 19.88 kB / 0.5342 GB, free: 3.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.01135, allocations: 7.938 kB / 0.5342 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/0.0114, allocations: 0 / 0.5342 GB, free: 3.586 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.01141, allocations: 7.984 kB / 0.5342 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.01142, allocations: 0 / 0.5342 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.079e-05/0.01148, allocations: 161.3 kB / 0.5343 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01148, allocations: 3.562 kB / 0.5344 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001832/0.01166, allocations: 59.78 kB / 0.5344 GB, free: 3.363 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.768e-05/0.01173, allocations: 95.25 kB / 0.5345 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.01194, allocations: 246.7 kB / 0.5347 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01194, allocations: 0 / 0.5347 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.433e-05/0.01203, allocations: 193.5 kB / 0.5349 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.01225, allocations: 31.5 kB / 0.535 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.01314, allocations: 352.2 kB / 0.5353 GB, free: 2.395 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.929e-05/0.01318, allocations: 87.95 kB / 0.5354 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.064e-05/0.01324, allocations: 16.64 kB / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.01331, allocations: 99.12 kB / 0.5355 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01331, allocations: 4 kB / 0.5355 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of Templates: time 0.003086/0.0164, allocations: 1.772 MB / 0.5372 GB, free: 0.5156 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.5072291367687285]