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.001086/0.001086, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001173/0.001173, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.114/1.114, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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-535:34: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-535:42: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.7823/0.7823, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.377e-05/1.523e-05, allocations: 4.844 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003022/0.003037, allocations: 2.578 MB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.005188, allocations: 1.01 MB / 484 MB, free: 2.996 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.00529, allocations: 8.562 kB / 484 MB, free: 2.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.00567, allocations: 96.11 kB / 484.1 MB, free: 2.895 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.005932, allocations: 136.4 kB / 484.2 MB, free: 2.762 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.006156, allocations: 112.2 kB / 484.3 MB, free: 2.652 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.006441, allocations: 319.5 kB / 484.6 MB, free: 2.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.006668, allocations: 191 kB / 484.8 MB, free: 2.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.006819, allocations: 168.2 kB / 485 MB, free: 1.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.007041, allocations: 129.7 kB / 485.1 MB, free: 1.863 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.007065, allocations: 20 kB / 485.1 MB, free: 1.844 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.007214, allocations: 88.89 kB / 485.2 MB, free: 1.758 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.007283, allocations: 95.73 kB / 485.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.007343, allocations: 75.81 kB / 485.4 MB, free: 1.59 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.00758, allocations: 232.1 kB / 485.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.007581, allocations: 0 / 485.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007582, allocations: 0.7812 kB / 485.6 MB, free: 1.363 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.007586, allocations: 0 / 485.6 MB, free: 1.363 MB / 442.7 MB 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.0004439/0.008029, allocations: 417.3 kB / 486 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.008061, allocations: 8.031 kB / 486 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.008452, allocations: 117.2 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.008633, allocations: 178.6 kB / 486.3 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.008645, allocations: 13.81 kB / 486.3 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.008665, allocations: 24.31 kB / 486.3 MB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.008892, allocations: 275.6 kB / 486.6 MB, free: 284 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.008901, allocations: 8.109 kB / 486.6 MB, free: 276 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.008916, allocations: 8.375 kB / 486.6 MB, free: 268 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.008941, allocations: 21.69 kB / 486.7 MB, free: 248 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.094e-05/0.009022, allocations: 67.78 kB / 486.7 MB, free: 180 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006871/0.009709, allocations: 0.8811 MB / 487.6 MB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.009819, allocations: 66.14 kB / 487.7 MB, free: 15.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.009842, allocations: 12.86 kB / 487.7 MB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.009847, allocations: 0.875 kB / 487.7 MB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.009866, allocations: 34.56 kB / 487.7 MB, free: 15.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.009868, allocations: 1.625 kB / 487.7 MB, free: 15.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002008/0.01007, allocations: 95.12 kB / 487.8 MB, free: 15.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.01009, allocations: 56.84 kB / 487.9 MB, free: 14.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.01019, allocations: 178.5 kB / 488 MB, free: 14.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.0102, allocations: 25.7 kB / 488.1 MB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.01026, allocations: 171.9 kB / 488.2 MB, free: 14.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.01027, allocations: 20.73 kB / 488.3 MB, free: 14.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.01031, allocations: 41.64 kB / 488.3 MB, free: 14.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.01038, allocations: 322.8 kB / 488.6 MB, free: 14.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.0104, allocations: 9.031 kB / 488.6 MB, free: 14.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.01045, allocations: 80.5 kB / 488.7 MB, free: 14.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.817e-05/0.01052, allocations: 110.5 kB / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01053, allocations: 0 / 488.8 MB, free: 13.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001354/0.01066, allocations: 133.9 kB / 488.9 MB, free: 13.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.01067, allocations: 4 kB / 488.9 MB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01068, allocations: 4 kB / 488.9 MB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/0.01081, allocations: 34.67 kB / 489 MB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.01087, allocations: 27.98 kB / 489 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000559/0.01143, allocations: 1.193 MB / 490.2 MB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.105e-05/0.01149, allocations: 19.83 kB / 490.2 MB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.0115, allocations: 5.188 kB / 490.2 MB, free: 12.4 MB / 458.7 MB 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 6.862e-05/0.01156, allocations: 128.5 kB / 490.3 MB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01159, allocations: 17.55 kB / 490.4 MB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.0116, allocations: 13.47 kB / 490.4 MB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01161, allocations: 4.688 kB / 490.4 MB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.01161, allocations: 4 kB / 490.4 MB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01161, allocations: 8.656 kB / 490.4 MB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.01182, allocations: 255.9 kB / 490.6 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01183, allocations: 2.281 kB / 490.6 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.01184, allocations: 8 kB / 490.7 MB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.01201, allocations: 29.95 kB / 490.7 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.01201, allocations: 3.938 kB / 490.7 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000481/0.01249, allocations: 1.186 MB / 491.9 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01249, allocations: 1.484 kB / 491.9 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.0126, allocations: 183 kB / 492.1 MB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01262, allocations: 7.953 kB / 492.1 MB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.01263, allocations: 0.6562 kB / 492.1 MB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.01269, allocations: 8 kB / 492.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.0127, allocations: 9.766 kB / 492.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.0127, allocations: 0.9844 kB / 492.1 MB, free: 10.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.01274, allocations: 54.91 kB / 492.1 MB, free: 10.33 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01274, allocations: 0 / 492.1 MB, free: 10.33 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.01292, allocations: 54.12 kB / 492.2 MB, free: 10.28 MB / 458.7 MB 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 6.258e-05/0.01298, allocations: 84.36 kB / 492.3 MB, free: 10.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001758/0.01315, allocations: 172.4 kB / 492.4 MB, free: 10 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.01316, allocations: 0.7812 kB / 492.4 MB, free: 10 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.01323, allocations: 144.2 kB / 492.6 MB, free: 9.848 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.01339, allocations: 36.81 kB / 492.6 MB, free: 9.816 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01396, allocations: 361.1 kB / 493 MB, free: 9.441 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.01401, allocations: 87.97 kB / 493.1 MB, free: 9.336 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.01405, allocations: 18.39 kB / 493.1 MB, free: 9.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.01413, allocations: 71.36 kB / 493.1 MB, free: 9.254 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01413, allocations: 4.469 kB / 493.1 MB, free: 9.25 MB / 458.7 MB Notification: Performance of Templates: time 0.003233/0.01736, allocations: 1.773 MB / 494.9 MB, free: 7.621 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.723545981105417]