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.0007881/0.0007881, allocations: 72.45 kB / 19.9 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.0008279/0.0008279, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9118/0.9118, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6965/0.6965, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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: 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.0008682/0.0008682, allocations: 67.89 kB / 0.6195 GB, free: 13.12 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.4361/0.437, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00305/0.44, allocations: 3.036 MB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.4412, allocations: 1.313 MB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.4413, allocations: 9.094 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.4419, allocations: 337.4 kB / 0.7237 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.4421, allocations: 148.2 kB / 0.7238 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.4423, allocations: 139.4 kB / 0.7239 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.4426, allocations: 309 kB / 0.7242 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.4429, allocations: 182.9 kB / 0.7244 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.443, allocations: 176.9 kB / 0.7246 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.4432, allocations: 138.8 kB / 0.7247 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.4433, allocations: 18.41 kB / 0.7247 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.4434, allocations: 153.3 kB / 0.7249 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.4435, allocations: 82.81 kB / 0.7249 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.4436, allocations: 89.75 kB / 0.725 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.4439, allocations: 369.5 kB / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.4439, allocations: 0 / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4439, allocations: 0 / 0.7254 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4439, allocations: 0 / 0.7254 GB, free: 19.9 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005013/0.4444, allocations: 452.2 kB / 0.7258 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4444, allocations: 8.594 kB / 0.7258 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003227/0.4448, allocations: 79.55 kB / 0.7259 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.445, allocations: 193.6 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.445, allocations: 12.72 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.445, allocations: 15.59 kB / 0.7261 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.4453, allocations: 387.6 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4453, allocations: 3.938 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.4453, allocations: 6.75 kB / 0.7265 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.4454, allocations: 27.42 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.4456, allocations: 193.4 kB / 0.7267 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007186/0.4463, allocations: 0.9817 MB / 0.7277 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.4465, allocations: 101.6 kB / 0.7278 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.4465, allocations: 29.27 kB / 0.7278 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.4465, allocations: 1.188 kB / 0.7278 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.4465, allocations: 41.66 kB / 0.7278 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.4465, allocations: 0 / 0.7278 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002974/0.4468, allocations: 140.8 kB / 0.728 GB, free: 18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.4468, allocations: 52.47 kB / 0.728 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.4469, allocations: 189.8 kB / 0.7282 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.4469, allocations: 25.7 kB / 0.7282 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.447, allocations: 175.3 kB / 0.7284 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.447, allocations: 27.05 kB / 0.7284 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.4471, allocations: 40.16 kB / 0.7284 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.955e-05/0.4471, allocations: 329.1 kB / 0.7288 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.4471, allocations: 36.69 kB / 0.7288 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.4472, allocations: 101 kB / 0.7289 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.4473, allocations: 143 kB / 0.729 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4473, allocations: 0 / 0.729 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001881/0.4475, allocations: 190.7 kB / 0.7292 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4475, allocations: 6.469 kB / 0.7292 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4475, allocations: 3.094 kB / 0.7292 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.4476, allocations: 25.48 kB / 0.7292 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.67e-05/0.4477, allocations: 34.52 kB / 0.7293 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004873/0.4482, allocations: 1.295 MB / 0.7305 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.4482, allocations: 21.61 kB / 0.7306 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4482, allocations: 5.781 kB / 0.7306 GB, free: 15.62 MB / 0.6355 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 7.169e-05/0.4483, allocations: 149.4 kB / 0.7307 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.4483, allocations: 18.69 kB / 0.7307 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.299e-05/0.4483, allocations: 14.06 kB / 0.7307 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-07/0.4483, allocations: 1.219 kB / 0.7307 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4483, allocations: 5.734 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4483, allocations: 0.7969 kB / 0.7307 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.4486, allocations: 370.5 kB / 0.7311 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4486, allocations: 1.125 kB / 0.7311 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.4486, allocations: 11.16 kB / 0.7311 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.043e-05/0.4487, allocations: 20.09 kB / 0.7311 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.4487, allocations: 4 kB / 0.7311 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003956/0.4491, allocations: 1.288 MB / 0.7324 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4491, allocations: 1.219 kB / 0.7324 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.4492, allocations: 223.5 kB / 0.7326 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.4492, allocations: 21.38 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.4492, allocations: 4.656 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.4493, allocations: 4.734 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.4493, allocations: 4.406 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.4493, allocations: 3.328 kB / 0.7326 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.4494, allocations: 133.2 kB / 0.7328 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4494, allocations: 1.688 kB / 0.7328 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001988/0.4496, allocations: 55.3 kB / 0.7328 GB, free: 13.59 MB / 0.6355 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 5.973e-05/0.4496, allocations: 98.52 kB / 0.7329 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.4498, allocations: 198 kB / 0.7331 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4499, allocations: 1.625 kB / 0.7331 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.4499, allocations: 147.5 kB / 0.7332 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.4501, allocations: 36.61 kB / 0.7333 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.4506, allocations: 406.6 kB / 0.7337 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.4506, allocations: 140.8 kB / 0.7338 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.4507, allocations: 15.34 kB / 0.7338 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.4507, allocations: 1.312 kB / 0.7338 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.003813/0.4545, allocations: 2.981 MB / 0.7367 GB, free: 12.61 MB / 0.6355 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: 6.083336632000282] Failed to read output from testmodel.py, exit status != 0: 0.4593088920228183 0.4673528 0.021657275 Calling exit ...