Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001414/0.001414, allocations: 107.6 kB / 18.95 MB, free: 2.812 MB / 14.72 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.001853/0.001853, allocations: 208.3 kB / 22.24 MB, free: 5.105 MB / 14.72 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 1.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 1.274/1.274, allocations: 203.8 MB / 0.5041 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 178] 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0021/0.0021, allocations: 74.22 kB / 0.7186 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6124, allocations: 102 MB / 0.8182 GB, free: 28.95 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.005269/0.6177, allocations: 3.06 MB / 0.8212 GB, free: 27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002612/0.6203, allocations: 1.319 MB / 0.8225 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.6205, allocations: 4.281 kB / 0.8225 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.6216, allocations: 335.6 kB / 0.8228 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.6221, allocations: 151.4 kB / 0.823 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.6225, allocations: 127.7 kB / 0.8231 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.623, allocations: 313.4 kB / 0.8234 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.6234, allocations: 180.2 kB / 0.8236 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.6235, allocations: 136.6 kB / 0.8237 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.6239, allocations: 138.5 kB / 0.8238 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.6239, allocations: 19.59 kB / 0.8239 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.6242, allocations: 152.4 kB / 0.824 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.6243, allocations: 84.41 kB / 0.8241 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.6244, allocations: 86.09 kB / 0.8242 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.6249, allocations: 342.8 kB / 0.8245 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.625, allocations: 0.5 kB / 0.8245 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.295e-06/0.625, allocations: 2.188 kB / 0.8245 GB, free: 25.24 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.625, allocations: 3.938 kB / 0.8245 GB, free: 25.23 MB / 0.6387 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.0008378/0.6258, allocations: 455.2 kB / 0.8249 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6258, allocations: 10.75 kB / 0.8249 GB, free: 24.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.6265, allocations: 76.42 kB / 0.825 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.6268, allocations: 194.8 kB / 0.8252 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.6268, allocations: 12.19 kB / 0.8252 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.6268, allocations: 20.59 kB / 0.8252 GB, free: 24.67 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.6273, allocations: 378.5 kB / 0.8256 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6273, allocations: 0 / 0.8256 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.6274, allocations: 10.22 kB / 0.8256 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.6274, allocations: 16.62 kB / 0.8256 GB, free: 24.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.6277, allocations: 193.2 kB / 0.8258 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.6289, allocations: 0.9852 MB / 0.8268 GB, free: 23.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.6291, allocations: 104.5 kB / 0.8269 GB, free: 23.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.6292, allocations: 29.97 kB / 0.8269 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.6292, allocations: 1.156 kB / 0.8269 GB, free: 23.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.6292, allocations: 40.23 kB / 0.8269 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.6292, allocations: 0 / 0.8269 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004531/0.6296, allocations: 145.4 kB / 0.8271 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.6297, allocations: 53.38 kB / 0.8271 GB, free: 23.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.6298, allocations: 187 kB / 0.8273 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.6299, allocations: 30.7 kB / 0.8273 GB, free: 23.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.6299, allocations: 175.2 kB / 0.8275 GB, free: 22.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.63, allocations: 30.97 kB / 0.8275 GB, free: 22.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.63, allocations: 35.58 kB / 0.8276 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/0.6301, allocations: 326.7 kB / 0.8279 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.6302, allocations: 38.77 kB / 0.8279 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.6303, allocations: 104.5 kB / 0.828 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.6304, allocations: 146.7 kB / 0.8282 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.6304, allocations: 1.938 kB / 0.8282 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002894/0.6307, allocations: 186.6 kB / 0.8283 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6307, allocations: 5.125 kB / 0.8283 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6307, allocations: 2.438 kB / 0.8283 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.6309, allocations: 30.95 kB / 0.8284 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.631, allocations: 29.47 kB / 0.8284 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.6318, allocations: 1.296 MB / 0.8297 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.6319, allocations: 18.12 kB / 0.8297 GB, free: 20.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.6319, allocations: 5.938 kB / 0.8297 GB, free: 20.97 MB / 0.6387 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 0.0001167/0.632, allocations: 149.1 kB / 0.8298 GB, free: 20.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.6321, allocations: 17.33 kB / 0.8298 GB, free: 20.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.6321, allocations: 19.64 kB / 0.8299 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6321, allocations: 1.375 kB / 0.8299 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6321, allocations: 0 / 0.8299 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6321, allocations: 2.078 kB / 0.8299 GB, free: 20.82 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.6326, allocations: 375.6 kB / 0.8302 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6326, allocations: 0 / 0.8302 GB, free: 20.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.6326, allocations: 11.52 kB / 0.8302 GB, free: 20.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.6327, allocations: 30.31 kB / 0.8303 GB, free: 20.49 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6327, allocations: 1.375 kB / 0.8303 GB, free: 20.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007055/0.6334, allocations: 1.288 MB / 0.8315 GB, free: 19.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6334, allocations: 0 / 0.8315 GB, free: 19.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.6336, allocations: 200 kB / 0.8317 GB, free: 19.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.6336, allocations: 32.27 kB / 0.8317 GB, free: 19.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.6337, allocations: 2.031 kB / 0.8317 GB, free: 19.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6338, allocations: 7.781 kB / 0.8318 GB, free: 19.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.6338, allocations: 5.406 kB / 0.8318 GB, free: 19.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.6338, allocations: 6.281 kB / 0.8318 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001247/0.6339, allocations: 132.8 kB / 0.8319 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6339, allocations: 0 / 0.8319 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003776/0.6343, allocations: 49.36 kB / 0.8319 GB, free: 18.94 MB / 0.6387 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 0.0001074/0.6344, allocations: 104.8 kB / 0.832 GB, free: 18.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.6348, allocations: 207.2 kB / 0.8322 GB, free: 18.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6348, allocations: 0 / 0.8322 GB, free: 18.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.635, allocations: 144 kB / 0.8324 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.6353, allocations: 31.44 kB / 0.8324 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.636, allocations: 372.3 kB / 0.8328 GB, free: 18.32 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.6362, allocations: 133 kB / 0.8329 GB, free: 18.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.042e-05/0.6363, allocations: 23.05 kB / 0.8329 GB, free: 18.24 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.6363, allocations: 14.31 kB / 0.8329 GB, free: 18.23 MB / 0.6387 GB Notification: Performance of SimCode: time 1.262e-06/0.6363, allocations: 0 / 0.8329 GB, free: 18.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.006112/0.6424, allocations: 1.846 MB / 0.8347 GB, free: 18.02 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8338342402130365] Failed to read output from testmodel.py, exit status != 0: 0.6513409949839115 0.664171348 0.036290488 Calling exit ...