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.0008545/0.0008545, allocations: 80.45 kB / 19.9 MB, free: 12 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.000791/0.000791, 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.9486/0.9486, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7559/0.7559, 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.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.0009034/0.0009034, allocations: 71.89 kB / 0.6195 GB, free: 13.14 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.5018/0.5027, allocations: 102 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.004236/0.5069, allocations: 3.738 MB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.5088, allocations: 1.691 MB / 0.7244 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.509, allocations: 10.5 kB / 0.7244 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.5098, allocations: 0.4904 MB / 0.7249 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.5101, allocations: 227.1 kB / 0.7251 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.5104, allocations: 210.9 kB / 0.7253 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.5109, allocations: 483.5 kB / 0.7258 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.5113, allocations: 286.9 kB / 0.726 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.5116, allocations: 287.3 kB / 0.7263 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.512, allocations: 211 kB / 0.7265 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.512, allocations: 32.06 kB / 0.7265 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.5123, allocations: 225.5 kB / 0.7267 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5124, allocations: 129.1 kB / 0.7269 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.5125, allocations: 142.2 kB / 0.727 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.5131, allocations: 0.5083 MB / 0.7275 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5131, allocations: 4 kB / 0.7275 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.245e-06/0.5131, allocations: 0 / 0.7275 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.5131, allocations: 1.156 kB / 0.7275 GB, free: 18.67 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.0007586/0.5138, allocations: 0.5609 MB / 0.7281 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5139, allocations: 9.781 kB / 0.7281 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.5144, allocations: 141.9 kB / 0.7282 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.5147, allocations: 229.8 kB / 0.7284 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.5147, allocations: 28.58 kB / 0.7284 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.5148, allocations: 27.41 kB / 0.7285 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.5153, allocations: 0.5825 MB / 0.729 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.5153, allocations: 1.094 kB / 0.729 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.5153, allocations: 17.28 kB / 0.7291 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/0.5154, allocations: 26.98 kB / 0.7291 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.5157, allocations: 321.4 kB / 0.7294 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5168, allocations: 1.511 MB / 0.7309 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.5171, allocations: 178.9 kB / 0.731 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.5172, allocations: 96.48 kB / 0.7311 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.5172, allocations: 1.781 kB / 0.7311 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.5173, allocations: 37.11 kB / 0.7312 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.5173, allocations: 0 / 0.7312 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004017/0.5177, allocations: 220.1 kB / 0.7314 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.5177, allocations: 58.09 kB / 0.7314 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.5178, allocations: 229.8 kB / 0.7316 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.5179, allocations: 31.08 kB / 0.7317 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.5179, allocations: 209.9 kB / 0.7319 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.518, allocations: 54.38 kB / 0.7319 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.518, allocations: 51.16 kB / 0.732 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.518, allocations: 334.1 kB / 0.7323 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.5181, allocations: 54.88 kB / 0.7324 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/0.5182, allocations: 149.5 kB / 0.7325 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.5184, allocations: 218.9 kB / 0.7327 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5184, allocations: 5.531 kB / 0.7327 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002767/0.5187, allocations: 263.6 kB / 0.733 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5187, allocations: 10.28 kB / 0.733 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5187, allocations: 4.594 kB / 0.733 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.5188, allocations: 31.11 kB / 0.733 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5189, allocations: 48.06 kB / 0.733 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005562/0.5195, allocations: 1.296 MB / 0.7343 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.5196, allocations: 27.36 kB / 0.7343 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5196, allocations: 9.625 kB / 0.7343 GB, free: 13.45 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 9.761e-05/0.5197, allocations: 169.7 kB / 0.7345 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.5197, allocations: 23.55 kB / 0.7345 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.5197, allocations: 24.36 kB / 0.7346 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5197, allocations: 2.75 kB / 0.7346 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5197, allocations: 0 / 0.7346 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5197, allocations: 0.75 kB / 0.7346 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.5203, allocations: 0.5664 MB / 0.7351 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5203, allocations: 1.375 kB / 0.7351 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.5203, allocations: 20.64 kB / 0.7351 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/0.5204, allocations: 25.45 kB / 0.7352 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.5204, allocations: 2.75 kB / 0.7352 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004189/0.5208, allocations: 1.3 MB / 0.7364 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5208, allocations: 1.375 kB / 0.7364 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.521, allocations: 311.7 kB / 0.7367 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.521, allocations: 32.23 kB / 0.7368 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5211, allocations: 4.781 kB / 0.7368 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.5211, allocations: 11.41 kB / 0.7368 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5212, allocations: 16.28 kB / 0.7368 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5212, allocations: 9.281 kB / 0.7368 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.549e-05/0.5213, allocations: 165.7 kB / 0.737 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5213, allocations: 0 / 0.737 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002607/0.5215, allocations: 89.17 kB / 0.737 GB, free: 11.17 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 7.45e-05/0.5216, allocations: 102.8 kB / 0.7371 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.5219, allocations: 268.1 kB / 0.7374 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5219, allocations: 0 / 0.7374 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.5221, allocations: 180.1 kB / 0.7376 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.5224, allocations: 50.72 kB / 0.7376 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.523, allocations: 0.5482 MB / 0.7382 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.5231, allocations: 181.8 kB / 0.7383 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.727e-05/0.5232, allocations: 41.22 kB / 0.7384 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.5233, allocations: 19.59 kB / 0.7384 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.5233, allocations: 5.344 kB / 0.7384 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.004544/0.5278, allocations: 2.439 MB / 0.7408 GB, free: 10.02 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.33127844100818] Failed to read output from testmodel.py, exit status != 0: 0.5333180529996753 0.54275822 0.027594026 Calling exit ...