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.0007404/0.0007404, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007618/0.0007618, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8394/0.8394, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6939/0.6939, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.563e-06/1.563e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.517e-05, allocations: 4.953 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003783/0.003808, allocations: 3.729 MB / 0.623 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.006141, allocations: 1.702 MB / 0.6246 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.006291, allocations: 7.938 kB / 0.6246 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.007067, allocations: 490 kB / 0.6251 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.007488, allocations: 246.5 kB / 0.6253 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.00789, allocations: 203.4 kB / 0.6255 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.008323, allocations: 486.2 kB / 0.626 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.008744, allocations: 297.4 kB / 0.6263 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.009003, allocations: 279.3 kB / 0.6265 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.009302, allocations: 191.5 kB / 0.6267 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.009335, allocations: 28 kB / 0.6267 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.009624, allocations: 231.2 kB / 0.627 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.009725, allocations: 135.6 kB / 0.6271 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.009811, allocations: 115.8 kB / 0.6272 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.01028, allocations: 0.5179 MB / 0.6277 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01029, allocations: 0 / 0.6277 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01029, allocations: 4 kB / 0.6277 GB, free: 4.551 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.0103, allocations: 0 / 0.6277 GB, free: 4.551 MB / 0.5886 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.0007779/0.01107, allocations: 0.5635 MB / 0.6283 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01111, allocations: 8.031 kB / 0.6283 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.01161, allocations: 136.6 kB / 0.6284 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.01191, allocations: 237.1 kB / 0.6286 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.01193, allocations: 32.94 kB / 0.6287 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.01196, allocations: 24.38 kB / 0.6287 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.01247, allocations: 0.5787 MB / 0.6292 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.01248, allocations: 192 / 0.6292 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.0125, allocations: 12.38 kB / 0.6293 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.01254, allocations: 36.58 kB / 0.6293 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01287, allocations: 322.3 kB / 0.6296 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.01412, allocations: 1.509 MB / 0.6311 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01438, allocations: 154.7 kB / 0.6312 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.01475, allocations: 100.8 kB / 0.6313 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.01476, allocations: 0 / 0.6313 GB, free: 0.6562 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01478, allocations: 42.44 kB / 0.6314 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.01478, allocations: 0 / 0.6314 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0003991/0.01518, allocations: 225.2 kB / 0.6316 GB, free: 388 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.01521, allocations: 51.41 kB / 0.6316 GB, free: 324 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01537, allocations: 232 kB / 0.6318 GB, free: 84 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.01539, allocations: 25.7 kB / 0.6319 GB, free: 52 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01549, allocations: 220.1 kB / 0.6321 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.01552, allocations: 47.59 kB / 0.6321 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.01557, allocations: 49.89 kB / 0.6322 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.01565, allocations: 326.8 kB / 0.6325 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.01571, allocations: 60.44 kB / 0.6325 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.01581, allocations: 141.6 kB / 0.6327 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.01599, allocations: 222.9 kB / 0.6329 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01599, allocations: 4 kB / 0.6329 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002726/0.01627, allocations: 261 kB / 0.6331 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.01628, allocations: 8 kB / 0.6331 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01629, allocations: 7.938 kB / 0.6332 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.01642, allocations: 25.22 kB / 0.6332 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01653, allocations: 56 kB / 0.6332 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/0.01726, allocations: 1.303 MB / 0.6345 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01736, allocations: 23.84 kB / 0.6345 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.01737, allocations: 12 kB / 0.6345 GB, free: 13.11 MB / 0.6042 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.0001184/0.01749, allocations: 170.8 kB / 0.6347 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.01752, allocations: 19.86 kB / 0.6347 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.01754, allocations: 29.45 kB / 0.6347 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01755, allocations: 3.938 kB / 0.6348 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.01755, allocations: 0 / 0.6348 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01756, allocations: 0 / 0.6348 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.01807, allocations: 0.5546 MB / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01808, allocations: 0 / 0.6353 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.01812, allocations: 27.92 kB / 0.6353 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.897e-05/0.01818, allocations: 24.84 kB / 0.6353 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.01819, allocations: 4 kB / 0.6353 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.01877, allocations: 1.288 MB / 0.6366 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01877, allocations: 4.031 kB / 0.6366 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.01899, allocations: 309.2 kB / 0.6369 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.01904, allocations: 43.72 kB / 0.6369 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.01905, allocations: 7.984 kB / 0.637 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.01914, allocations: 16 kB / 0.637 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.01917, allocations: 11.92 kB / 0.637 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.01917, allocations: 4 kB / 0.637 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.397e-05/0.01927, allocations: 165.6 kB / 0.6371 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.01927, allocations: 4.062 kB / 0.6371 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002726/0.01954, allocations: 79.84 kB / 0.6372 GB, free: 10.14 MB / 0.6042 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.352e-05/0.01963, allocations: 99.19 kB / 0.6373 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.01995, allocations: 266.9 kB / 0.6376 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01995, allocations: 12.12 kB / 0.6376 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.02007, allocations: 174.6 kB / 0.6377 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.02038, allocations: 55.09 kB / 0.6378 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.02128, allocations: 0.5747 MB / 0.6384 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.02141, allocations: 174.1 kB / 0.6385 GB, free: 8.707 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.02145, allocations: 28.44 kB / 0.6386 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.02145, allocations: 0 / 0.6386 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of Templates: time 0.004481/0.02593, allocations: 4.359 MB / 0.6428 GB, free: 4.336 MB / 0.6042 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: 5.338642082177103] Failed to read output from testmodel.py, exit status != 0: 0.03132113441824913 0.039571844 0.027615145 Calling exit ...