Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001338/0.001338, 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.001624/0.001624, allocations: 169 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 1.064/1.064, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.7933/0.7933, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.5203 GB, free: 2.242 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.696e-05, allocations: 8.406 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003692/0.003729, allocations: 2.942 MB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.005226, allocations: 1.123 MB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005353, allocations: 11.94 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.005832, allocations: 112 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.006147, allocations: 201.5 kB / 0.5246 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.006417, allocations: 164.3 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.006818, allocations: 494.2 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.00724, allocations: 286.3 kB / 0.5255 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.007464, allocations: 275.4 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.007774, allocations: 214.4 kB / 0.5259 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.007813, allocations: 28 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.007985, allocations: 95.73 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.00809, allocations: 139.6 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.008193, allocations: 119.7 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.008549, allocations: 326.9 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008553, allocations: 0 / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.008554, allocations: 0.5 kB / 0.5266 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.008559, allocations: 1.062 kB / 0.5266 GB, free: 11.75 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007357/0.009295, allocations: 0.6494 MB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.009332, allocations: 8.031 kB / 0.5273 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005864/0.009919, allocations: 202 kB / 0.5275 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.0102, allocations: 234.2 kB / 0.5277 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.01022, allocations: 21.03 kB / 0.5277 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.01026, allocations: 32.38 kB / 0.5277 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.01069, allocations: 469.5 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.01071, allocations: 5.812 kB / 0.5282 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.01073, allocations: 12.38 kB / 0.5282 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.01078, allocations: 32.58 kB / 0.5282 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.01099, allocations: 142.9 kB / 0.5284 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.0123, allocations: 1.911 MB / 0.5302 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.01252, allocations: 119.2 kB / 0.5303 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.01266, allocations: 67.66 kB / 0.5304 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.01267, allocations: 4 kB / 0.5304 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.01269, allocations: 45.31 kB / 0.5305 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.0127, allocations: 1.812 kB / 0.5305 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0003673/0.01306, allocations: 164.5 kB / 0.5306 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01309, allocations: 53.06 kB / 0.5307 GB, free: 7.367 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.01326, allocations: 274.6 kB / 0.5309 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.01327, allocations: 29.7 kB / 0.531 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01337, allocations: 258.9 kB / 0.5312 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.0134, allocations: 55.53 kB / 0.5313 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.01346, allocations: 54.31 kB / 0.5313 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.01358, allocations: 0.5001 MB / 0.5318 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-05/0.01362, allocations: 28.45 kB / 0.5318 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.01372, allocations: 144.8 kB / 0.532 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.01388, allocations: 197.8 kB / 0.5321 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01388, allocations: 0 / 0.5321 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002482/0.01413, allocations: 216.6 kB / 0.5324 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01415, allocations: 5.5 kB / 0.5324 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01415, allocations: 4 kB / 0.5324 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.01434, allocations: 36.78 kB / 0.5324 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01445, allocations: 56.91 kB / 0.5325 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/0.01527, allocations: 1.741 MB / 0.5342 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.01535, allocations: 19.84 kB / 0.5342 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.01537, allocations: 21.08 kB / 0.5342 GB, free: 3.48 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 9.755e-05/0.01546, allocations: 175.3 kB / 0.5344 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.0155, allocations: 23.91 kB / 0.5344 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.01552, allocations: 25.45 kB / 0.5344 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01552, allocations: 7.938 kB / 0.5344 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.01552, allocations: 0 / 0.5344 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01553, allocations: 0 / 0.5344 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.01604, allocations: 0.569 MB / 0.535 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.01605, allocations: 8.062 kB / 0.535 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.01609, allocations: 23.92 kB / 0.535 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.01619, allocations: 31.67 kB / 0.535 GB, free: 2.547 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.0162, allocations: 6.469 kB / 0.535 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000677/0.01688, allocations: 1.744 MB / 0.5367 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01688, allocations: 4.812 kB / 0.5367 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.0171, allocations: 338.5 kB / 0.5371 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.01715, allocations: 39.77 kB / 0.5371 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01716, allocations: 1.156 kB / 0.5371 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.01724, allocations: 12 kB / 0.5371 GB, free: 240 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.01727, allocations: 16.53 kB / 0.5371 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01728, allocations: 4 kB / 0.5371 GB, free: 220 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.95e-05/0.01738, allocations: 194.4 kB / 0.5373 GB, free: 28 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01738, allocations: 0 / 0.5373 GB, free: 28 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002695/0.01765, allocations: 84.78 kB / 0.5374 GB, free: 15.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.661e-05/0.01774, allocations: 99.88 kB / 0.5375 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003196/0.01806, allocations: 288.5 kB / 0.5378 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01806, allocations: 0 / 0.5378 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01818, allocations: 228 kB / 0.538 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.01849, allocations: 65.14 kB / 0.5381 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.01937, allocations: 0.5353 MB / 0.5386 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.243e-05/0.01945, allocations: 108.3 kB / 0.5387 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.01953, allocations: 34.42 kB / 0.5387 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.01957, allocations: 16.5 kB / 0.5387 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/0.01957, allocations: 0.9688 kB / 0.5387 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.004659/0.02423, allocations: 2.453 MB / 0.5411 GB, free: 12.2 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.096457539126277]