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.001384/0.001384, allocations: 88.72 kB / 19.44 MB, free: 356 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.001536/0.001536, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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 178] 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 2.054e-06/2.054e-06, allocations: 0 / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.012e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.006253/0.006283, allocations: 3.032 MB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.009075, allocations: 1.31 MB / 0.5238 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.009287, allocations: 7.938 kB / 0.5238 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.01058, allocations: 336.1 kB / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005024/0.01108, allocations: 153 kB / 0.5243 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.01154, allocations: 135.6 kB / 0.5244 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005397/0.01208, allocations: 319.8 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.01257, allocations: 176.6 kB / 0.5249 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.01293, allocations: 176.4 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.01334, allocations: 127.6 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.01339, allocations: 20.5 kB / 0.5252 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.01375, allocations: 156.5 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.01389, allocations: 83.78 kB / 0.5254 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.01402, allocations: 79.83 kB / 0.5255 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.01466, allocations: 348.1 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01467, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01467, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.01468, allocations: 1.781 kB / 0.5259 GB, free: 12.19 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.001109/0.01579, allocations: 445.5 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.01583, allocations: 8.031 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.01663, allocations: 122.5 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.01701, allocations: 196.4 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.01704, allocations: 12.75 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.01709, allocations: 24.38 kB / 0.5266 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.01771, allocations: 370 kB / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01773, allocations: 192 / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.01776, allocations: 13.77 kB / 0.527 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.01781, allocations: 28.23 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.01819, allocations: 196.9 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.02005, allocations: 0.9796 MB / 0.5282 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.02033, allocations: 90.66 kB / 0.5282 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/0.02042, allocations: 37.77 kB / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.02042, allocations: 0 / 0.5283 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.02046, allocations: 37.75 kB / 0.5283 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.02046, allocations: 0 / 0.5283 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005693/0.02103, allocations: 154.7 kB / 0.5285 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.02108, allocations: 51.41 kB / 0.5285 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.02132, allocations: 187.4 kB / 0.5287 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.02135, allocations: 29.7 kB / 0.5287 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.02151, allocations: 171.9 kB / 0.5289 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.02154, allocations: 34.52 kB / 0.5289 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.02162, allocations: 29.72 kB / 0.529 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.02182, allocations: 322.8 kB / 0.5293 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.0219, allocations: 35.98 kB / 0.5293 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.02205, allocations: 102.5 kB / 0.5294 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.02228, allocations: 151.4 kB / 0.5295 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02229, allocations: 0 / 0.5295 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003847/0.02267, allocations: 196 kB / 0.5297 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.02269, allocations: 8.844 kB / 0.5297 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.0227, allocations: 4 kB / 0.5297 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.02299, allocations: 43.36 kB / 0.5298 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.02311, allocations: 23.98 kB / 0.5298 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.02452, allocations: 1.298 MB / 0.5311 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.02465, allocations: 15.92 kB / 0.5311 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.02466, allocations: 8 kB / 0.5311 GB, free: 6.453 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 0.0001701/0.02483, allocations: 143.9 kB / 0.5312 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.02489, allocations: 19.91 kB / 0.5312 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.02493, allocations: 17.45 kB / 0.5313 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.02494, allocations: 3.938 kB / 0.5313 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.02494, allocations: 8.875 kB / 0.5313 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.02494, allocations: 0 / 0.5313 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.02553, allocations: 367.8 kB / 0.5316 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02553, allocations: 0 / 0.5316 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.02558, allocations: 8 kB / 0.5316 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.02576, allocations: 36.48 kB / 0.5317 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.02577, allocations: 0 / 0.5317 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.02711, allocations: 1.294 MB / 0.5329 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.02711, allocations: 0 / 0.5329 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.0274, allocations: 216.2 kB / 0.5331 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.02746, allocations: 19.94 kB / 0.5332 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.02748, allocations: 0 / 0.5332 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.0276, allocations: 15.94 kB / 0.5332 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.02762, allocations: 9.266 kB / 0.5332 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.02763, allocations: 0 / 0.5332 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000163/0.02779, allocations: 132.8 kB / 0.5333 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02779, allocations: 0 / 0.5333 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003771/0.02817, allocations: 57.31 kB / 0.5334 GB, free: 3.965 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 0.0001582/0.02833, allocations: 95.81 kB / 0.5335 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.02882, allocations: 203.9 kB / 0.5336 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02882, allocations: 1.281 kB / 0.5336 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.02903, allocations: 146.6 kB / 0.5338 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.02942, allocations: 33.39 kB / 0.5338 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.03021, allocations: 350.3 kB / 0.5342 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.03065, allocations: 139.2 kB / 0.5343 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.03077, allocations: 24.09 kB / 0.5343 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.03082, allocations: 16.5 kB / 0.5343 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.03082, allocations: 0 / 0.5343 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of Templates: time 0.005533/0.03635, allocations: 1.665 MB / 0.536 GB, free: 1.359 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.890927021973766]