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.0009335/0.0009335, allocations: 81.17 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.001216/0.001216, allocations: 169 kB / 23.27 MB, free: 1.223 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.9496/0.9496, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.744/0.744, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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 1.213e-06/1.213e-06, allocations: 0 / 0.5207 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.264e-05, allocations: 6.25 kB / 0.5207 GB, free: 1.883 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003513/0.003536, allocations: 2.933 MB / 0.5236 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.005256, allocations: 1.117 MB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.005435, allocations: 11.94 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.005878, allocations: 115.3 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.006253, allocations: 196.7 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.00657, allocations: 160.5 kB / 0.5252 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.00705, allocations: 494.2 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.007455, allocations: 290.4 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000289/0.007744, allocations: 283.4 kB / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.0081, allocations: 196.4 kB / 0.5264 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.008141, allocations: 28 kB / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.008331, allocations: 104.2 kB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.008436, allocations: 136.4 kB / 0.5266 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.008533, allocations: 119.7 kB / 0.5267 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.008897, allocations: 332.1 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.0089, allocations: 0 / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.008901, allocations: 0 / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.008906, allocations: 0 / 0.527 GB, free: 11.43 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.0006541/0.00956, allocations: 0.6502 MB / 0.5277 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.009599, allocations: 12.03 kB / 0.5277 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.01013, allocations: 178 kB / 0.5279 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.01039, allocations: 229.9 kB / 0.5281 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.01041, allocations: 17.03 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.01043, allocations: 34.12 kB / 0.5281 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.01077, allocations: 444.9 kB / 0.5286 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01078, allocations: 192 / 0.5286 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.01081, allocations: 12.38 kB / 0.5286 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.01085, allocations: 36.56 kB / 0.5286 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.01098, allocations: 110.5 kB / 0.5287 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.01244, allocations: 1.858 MB / 0.5305 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.01261, allocations: 111.2 kB / 0.5306 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.0127, allocations: 63.66 kB / 0.5307 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.01272, allocations: 0.9375 kB / 0.5307 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01274, allocations: 37.39 kB / 0.5307 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.01274, allocations: 0.6875 kB / 0.5307 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.0002949/0.01304, allocations: 157.8 kB / 0.5309 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.01306, allocations: 55.41 kB / 0.5309 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.0132, allocations: 274.5 kB / 0.5312 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.01321, allocations: 25.7 kB / 0.5312 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.01331, allocations: 263.4 kB / 0.5315 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.01333, allocations: 47.53 kB / 0.5315 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.01339, allocations: 68.3 kB / 0.5316 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.0135, allocations: 0.4962 MB / 0.5321 GB, free: 6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.01353, allocations: 25.16 kB / 0.5321 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.0136, allocations: 140.8 kB / 0.5322 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.01373, allocations: 192.5 kB / 0.5324 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01373, allocations: 4 kB / 0.5324 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002233/0.01396, allocations: 194 kB / 0.5326 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01397, allocations: 7.984 kB / 0.5326 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01398, allocations: 5.219 kB / 0.5326 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.01412, allocations: 40.59 kB / 0.5326 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.01422, allocations: 52.62 kB / 0.5327 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007759/0.015, allocations: 1.72 MB / 0.5344 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.0151, allocations: 31.72 kB / 0.5344 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.01511, allocations: 11.98 kB / 0.5344 GB, free: 3.375 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.753e-05/0.01521, allocations: 176 kB / 0.5346 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.01524, allocations: 23.91 kB / 0.5346 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.01526, allocations: 25.45 kB / 0.5346 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01526, allocations: 4 kB / 0.5346 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01527, allocations: 3.938 kB / 0.5346 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01527, allocations: 3.938 kB / 0.5346 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.01577, allocations: 0.5562 MB / 0.5352 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01577, allocations: 0 / 0.5352 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.01583, allocations: 27.92 kB / 0.5352 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.01593, allocations: 39.62 kB / 0.5352 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.01594, allocations: 4 kB / 0.5353 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008961/0.01683, allocations: 1.725 MB / 0.5369 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.01683, allocations: 7.984 kB / 0.5369 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01702, allocations: 322.3 kB / 0.5373 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.01707, allocations: 35.8 kB / 0.5373 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.01708, allocations: 4.562 kB / 0.5373 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.01716, allocations: 17.16 kB / 0.5373 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.01718, allocations: 19.91 kB / 0.5373 GB, free: 156 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01719, allocations: 4 kB / 0.5373 GB, free: 152 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.01727, allocations: 182.2 kB / 0.5375 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.01727, allocations: 0 / 0.5375 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002625/0.01754, allocations: 84.36 kB / 0.5376 GB, free: 15.89 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 8.906e-05/0.01763, allocations: 104.5 kB / 0.5377 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.0179, allocations: 272.8 kB / 0.5379 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.0179, allocations: 0 / 0.5379 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01802, allocations: 223.6 kB / 0.5382 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.0183, allocations: 55.89 kB / 0.5382 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.01907, allocations: 0.5325 MB / 0.5387 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.01914, allocations: 112.3 kB / 0.5388 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.42e-05/0.01921, allocations: 22.55 kB / 0.5389 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.01932, allocations: 118.2 kB / 0.539 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of SimCode: time 9.31e-07/0.01932, allocations: 0 / 0.539 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.00445/0.02377, allocations: 2.626 MB / 0.5415 GB, free: 11.9 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: 3.618544849101454]