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.0007301/0.0007301, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007333/0.0007333, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8515/0.8515, allocations: 177.2 MB / 203.6 MB, free: 5.742 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-531:686: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-531:694: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.7128/0.7128, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009854, allocations: 71.91 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3888, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003773/0.3925, allocations: 3.735 MB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3947, allocations: 1.695 MB / 0.7244 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3949, allocations: 10.06 kB / 0.7244 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.3958, allocations: 0.4978 MB / 0.7249 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.3963, allocations: 222.3 kB / 0.7251 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3968, allocations: 210.8 kB / 0.7253 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.3972, allocations: 484.2 kB / 0.7258 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.3977, allocations: 283.6 kB / 0.726 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.3979, allocations: 282.9 kB / 0.7263 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.3983, allocations: 214.6 kB / 0.7265 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.3983, allocations: 28.31 kB / 0.7265 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3986, allocations: 221.5 kB / 0.7268 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3987, allocations: 136.3 kB / 0.7269 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3989, allocations: 143 kB / 0.727 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.3994, allocations: 0.5354 MB / 0.7275 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3994, allocations: 4 kB / 0.7275 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3994, allocations: 1.125 kB / 0.7275 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3994, allocations: 0 / 0.7275 GB, free: 18.7 MB / 0.6355 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.0007801/0.4002, allocations: 0.5659 MB / 0.7281 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4002, allocations: 8.312 kB / 0.7281 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.4008, allocations: 138.4 kB / 0.7282 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.4011, allocations: 235.1 kB / 0.7285 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4011, allocations: 20.28 kB / 0.7285 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.4011, allocations: 30.33 kB / 0.7285 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.4016, allocations: 0.5797 MB / 0.7291 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4016, allocations: 0 / 0.7291 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.4017, allocations: 20.84 kB / 0.7291 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/0.4017, allocations: 35.84 kB / 0.7291 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.4021, allocations: 320.2 kB / 0.7294 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4032, allocations: 1.512 MB / 0.7309 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.4034, allocations: 168 kB / 0.7311 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.4036, allocations: 94.56 kB / 0.7312 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.4036, allocations: 2.078 kB / 0.7312 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.4036, allocations: 41.25 kB / 0.7312 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.264e-06/0.4036, allocations: 0 / 0.7312 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004065/0.404, allocations: 216.8 kB / 0.7314 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.404, allocations: 53.3 kB / 0.7315 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.4042, allocations: 229.8 kB / 0.7317 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.4042, allocations: 31.92 kB / 0.7317 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.4043, allocations: 213.8 kB / 0.7319 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.4043, allocations: 54.47 kB / 0.732 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.4044, allocations: 47.41 kB / 0.732 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.4044, allocations: 333.4 kB / 0.7323 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.4045, allocations: 62.89 kB / 0.7324 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.4045, allocations: 145.5 kB / 0.7325 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4047, allocations: 234.7 kB / 0.7328 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4047, allocations: 1.844 kB / 0.7328 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002691/0.405, allocations: 256.7 kB / 0.733 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.405, allocations: 6.094 kB / 0.733 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.405, allocations: 3.969 kB / 0.733 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.4052, allocations: 38.69 kB / 0.733 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4053, allocations: 47.2 kB / 0.7331 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006279/0.4059, allocations: 1.297 MB / 0.7344 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.406, allocations: 28.69 kB / 0.7344 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.406, allocations: 8.25 kB / 0.7344 GB, free: 13.47 MB / 0.6355 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 0.0001183/0.4062, allocations: 171.6 kB / 0.7346 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.4062, allocations: 21.47 kB / 0.7346 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.4062, allocations: 26.06 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4062, allocations: 1.375 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.4062, allocations: 0 / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4062, allocations: 2.031 kB / 0.7346 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.4068, allocations: 0.5573 MB / 0.7351 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4068, allocations: 1.375 kB / 0.7351 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.4068, allocations: 29.81 kB / 0.7352 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.316e-05/0.4069, allocations: 20.08 kB / 0.7352 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.4069, allocations: 6.75 kB / 0.7352 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004433/0.4073, allocations: 1.291 MB / 0.7365 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4073, allocations: 2.734 kB / 0.7365 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.4075, allocations: 316 kB / 0.7368 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4076, allocations: 28.12 kB / 0.7368 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4076, allocations: 7.5 kB / 0.7368 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.4077, allocations: 8.234 kB / 0.7368 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.4077, allocations: 19.83 kB / 0.7368 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4077, allocations: 9.375 kB / 0.7368 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.4078, allocations: 165.8 kB / 0.737 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4078, allocations: 1.031 kB / 0.737 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003078/0.4081, allocations: 88.3 kB / 0.7371 GB, free: 11.2 MB / 0.6355 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.264e-05/0.4082, allocations: 95.48 kB / 0.7372 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.4085, allocations: 271.8 kB / 0.7374 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4085, allocations: 5.438 kB / 0.7374 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4086, allocations: 177.8 kB / 0.7376 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.409, allocations: 55.11 kB / 0.7377 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.4096, allocations: 0.5852 MB / 0.7382 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4098, allocations: 183.1 kB / 0.7384 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.4098, allocations: 25 kB / 0.7384 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.4098, allocations: 0 / 0.7384 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.005508/0.4153, allocations: 4.353 MB / 0.7427 GB, free: 9.949 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.133810682920739] Failed to read output from testmodel.py, exit status != 0: 0.42134287604130805 0.42953524400000004 0.028310573000000002 Calling exit ...