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.0009623/0.0009623, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.000902/0.000902, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9547/0.9547, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.8234/0.8234, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.112e-06/1.112e-06, allocations: 0 / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.878e-05, allocations: 8.141 kB / 0.5215 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.002841/0.00286, allocations: 2.526 MB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.00416, allocations: 0.9769 MB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.004276, allocations: 13.03 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.004664, allocations: 103.4 kB / 0.525 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.004906, allocations: 140.9 kB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.005106, allocations: 107.7 kB / 0.5253 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.005407, allocations: 320.2 kB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.005686, allocations: 188.6 kB / 0.5258 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.005853, allocations: 175.6 kB / 0.5259 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.00609, allocations: 124.8 kB / 0.526 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.006116, allocations: 20 kB / 0.5261 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.006259, allocations: 95.7 kB / 0.5262 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.006328, allocations: 88.48 kB / 0.5262 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.006393, allocations: 79.83 kB / 0.5263 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.006641, allocations: 232.4 kB / 0.5265 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.006644, allocations: 0 / 0.5265 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006644, allocations: 0 / 0.5265 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.006649, allocations: 1.125 kB / 0.5265 GB, free: 12.74 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.0004869/0.007135, allocations: 0.5319 MB / 0.5271 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.007164, allocations: 8.031 kB / 0.5271 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.007514, allocations: 116 kB / 0.5272 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.007697, allocations: 178 kB / 0.5273 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.007711, allocations: 16.73 kB / 0.5274 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.007731, allocations: 20.38 kB / 0.5274 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.007966, allocations: 286.3 kB / 0.5277 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.007975, allocations: 0.875 kB / 0.5277 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.007991, allocations: 8.375 kB / 0.5277 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.008017, allocations: 17.5 kB / 0.5277 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.008181, allocations: 78.19 kB / 0.5278 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.009396, allocations: 1.237 MB / 0.529 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.009518, allocations: 67.05 kB / 0.529 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.009542, allocations: 24.5 kB / 0.5291 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.009547, allocations: 0.625 kB / 0.5291 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.00957, allocations: 45.33 kB / 0.5291 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.009571, allocations: 3.062 kB / 0.5291 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002448/0.009816, allocations: 105.2 kB / 0.5292 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.00984, allocations: 51.41 kB / 0.5292 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.009964, allocations: 237.8 kB / 0.5295 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.009976, allocations: 25.7 kB / 0.5295 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.01008, allocations: 214.7 kB / 0.5297 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.01009, allocations: 34.17 kB / 0.5297 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.01014, allocations: 39.36 kB / 0.5298 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01026, allocations: 0.4962 MB / 0.5303 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.01028, allocations: 11.98 kB / 0.5303 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.01035, allocations: 116.7 kB / 0.5304 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.564e-05/0.01045, allocations: 135.9 kB / 0.5305 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01045, allocations: 0 / 0.5305 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001656/0.01061, allocations: 152.3 kB / 0.5307 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01063, allocations: 8 kB / 0.5307 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.01064, allocations: 3.984 kB / 0.5307 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.01078, allocations: 38.64 kB / 0.5307 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.01083, allocations: 23.98 kB / 0.5307 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007783/0.01161, allocations: 1.726 MB / 0.5324 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.01169, allocations: 19.95 kB / 0.5324 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.0117, allocations: 8 kB / 0.5324 GB, free: 6.242 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.0001017/0.0118, allocations: 165.8 kB / 0.5326 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.01183, allocations: 15.91 kB / 0.5326 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.01185, allocations: 22.3 kB / 0.5326 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01185, allocations: 0 / 0.5326 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01186, allocations: 5.438 kB / 0.5326 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01186, allocations: 0 / 0.5326 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.01218, allocations: 353.6 kB / 0.533 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01218, allocations: 0 / 0.533 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.0122, allocations: 8.969 kB / 0.533 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.01232, allocations: 36.78 kB / 0.533 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.01232, allocations: 4.656 kB / 0.533 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/0.01317, allocations: 1.715 MB / 0.5347 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01317, allocations: 1.812 kB / 0.5347 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.0134, allocations: 235.4 kB / 0.5349 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.01343, allocations: 19.88 kB / 0.5349 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.01344, allocations: 4 kB / 0.5349 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.0135, allocations: 6.438 kB / 0.535 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.01352, allocations: 3.984 kB / 0.535 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01352, allocations: 4 kB / 0.535 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.0136, allocations: 165.2 kB / 0.5351 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 0 / 0.5351 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002491/0.01385, allocations: 63.78 kB / 0.5352 GB, free: 3.258 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.0001082/0.01395, allocations: 93.22 kB / 0.5353 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.01421, allocations: 238.7 kB / 0.5355 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01421, allocations: 0 / 0.5355 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.469e-05/0.01431, allocations: 199.2 kB / 0.5357 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.01457, allocations: 25.7 kB / 0.5357 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007103/0.01528, allocations: 353.1 kB / 0.536 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.01534, allocations: 88.69 kB / 0.5361 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.361e-05/0.01539, allocations: 15.86 kB / 0.5361 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.576e-05/0.01549, allocations: 107.6 kB / 0.5362 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.01549, allocations: 0 / 0.5362 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.004086/0.01957, allocations: 1.801 MB / 0.538 GB, free: 396 kB / 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.749041300266981]