Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006451/0.0006451, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.000751/0.000751, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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.8593/0.8593, allocations: 230.6 MB / 256.8 MB, free: 3.457 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7234/0.7234, allocations: 203.8 MB / 0.5049 GB, free: 0.668 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.000926/0.000926, allocations: 59.91 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4064, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003851/0.4102, allocations: 3.988 MB / 0.823 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.4122, allocations: 1.836 MB / 0.8247 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.4123, allocations: 11.41 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.4132, allocations: 0.5129 MB / 0.8253 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.4136, allocations: 225.3 kB / 0.8255 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.4139, allocations: 216.9 kB / 0.8257 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.4143, allocations: 478.9 kB / 0.8261 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004421/0.4148, allocations: 287.9 kB / 0.8264 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.415, allocations: 202 kB / 0.8266 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.4153, allocations: 222.8 kB / 0.8268 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.4154, allocations: 28.12 kB / 0.8268 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.4157, allocations: 257.2 kB / 0.8271 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4159, allocations: 131.9 kB / 0.8272 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.416, allocations: 178.3 kB / 0.8274 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.4167, allocations: 0.5026 MB / 0.8279 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4167, allocations: 0 / 0.8279 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4167, allocations: 0 / 0.8279 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4167, allocations: 0 / 0.8279 GB, free: 19.85 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.0008443/0.4176, allocations: 0.5613 MB / 0.8284 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4176, allocations: 10.84 kB / 0.8284 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.4181, allocations: 137.2 kB / 0.8286 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.4184, allocations: 237.6 kB / 0.8288 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4184, allocations: 21.59 kB / 0.8288 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.4185, allocations: 26.06 kB / 0.8288 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.419, allocations: 473.3 kB / 0.8293 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.419, allocations: 0 / 0.8293 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.419, allocations: 22.22 kB / 0.8293 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.419, allocations: 26.39 kB / 0.8293 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.4194, allocations: 321.4 kB / 0.8296 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.4206, allocations: 2.144 MB / 0.8317 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.4209, allocations: 164.4 kB / 0.8319 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.4211, allocations: 94.78 kB / 0.832 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4211, allocations: 2.562 kB / 0.832 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.4211, allocations: 40.53 kB / 0.832 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.4211, allocations: 0 / 0.832 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0004177/0.4215, allocations: 227 kB / 0.8322 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.4215, allocations: 53.41 kB / 0.8323 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.4217, allocations: 271.6 kB / 0.8325 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.4217, allocations: 29.7 kB / 0.8326 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.4218, allocations: 213.8 kB / 0.8328 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.4218, allocations: 46.3 kB / 0.8328 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.4219, allocations: 56.12 kB / 0.8329 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.4219, allocations: 337.4 kB / 0.8332 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.422, allocations: 60.11 kB / 0.8333 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.4221, allocations: 145.9 kB / 0.8334 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.4223, allocations: 214 kB / 0.8336 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4223, allocations: 0 / 0.8336 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002666/0.4225, allocations: 268.6 kB / 0.8339 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4225, allocations: 6.875 kB / 0.8339 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4225, allocations: 2.75 kB / 0.8339 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.4227, allocations: 31.23 kB / 0.8339 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.4228, allocations: 55.5 kB / 0.8339 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005694/0.4234, allocations: 1.317 MB / 0.8352 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.4235, allocations: 28.19 kB / 0.8353 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.4235, allocations: 13.09 kB / 0.8353 GB, free: 14.04 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.493e-05/0.4236, allocations: 166.7 kB / 0.8354 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.4236, allocations: 27.91 kB / 0.8355 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.4236, allocations: 27.14 kB / 0.8355 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4236, allocations: 2.828 kB / 0.8355 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4236, allocations: 4.062 kB / 0.8355 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4236, allocations: 1.719 kB / 0.8355 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000587/0.4242, allocations: 0.6777 MB / 0.8362 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4242, allocations: 2.328 kB / 0.8362 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.4243, allocations: 28.72 kB / 0.8362 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-05/0.4243, allocations: 29.17 kB / 0.8362 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4244, allocations: 2.188 kB / 0.8362 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004322/0.4248, allocations: 1.312 MB / 0.8375 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4248, allocations: 2.812 kB / 0.8375 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.425, allocations: 319.9 kB / 0.8378 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/0.425, allocations: 36.61 kB / 0.8378 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.425, allocations: 16.14 kB / 0.8379 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.4251, allocations: 7.312 kB / 0.8379 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.4252, allocations: 22.86 kB / 0.8379 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4252, allocations: 5.125 kB / 0.8379 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4253, allocations: 190.2 kB / 0.8381 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4253, allocations: 0 / 0.8381 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002701/0.4256, allocations: 80.08 kB / 0.8381 GB, free: 11.6 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.381e-05/0.4256, allocations: 100.3 kB / 0.8382 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.426, allocations: 267.3 kB / 0.8385 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.426, allocations: 1.812 kB / 0.8385 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4261, allocations: 183.2 kB / 0.8387 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4265, allocations: 59.5 kB / 0.8387 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.4272, allocations: 0.5873 MB / 0.8393 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.4274, allocations: 0.7941 MB / 0.8401 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.4275, allocations: 25.16 kB / 0.8401 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4275, allocations: 0 / 0.8401 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.00587/0.4333, allocations: 4.43 MB / 0.8444 GB, free: 9.703 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.938310177996755] Failed to read output from testmodel.py, exit status != 0: 0.4393840429838747 0.44738212600000005 0.028902215000000002 Calling exit ...