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.001439/0.001439, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001458/0.001458, allocations: 177 kB / 23.36 MB, free: 1.129 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.045/1.045, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8218/0.8218, allocations: 154.9 MB / 415.1 MB, free: 212 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.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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 480.3 MB, free: 6.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.759e-05, allocations: 3.594 kB / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003638/0.003656, allocations: 2.944 MB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.005456, allocations: 1.14 MB / 484.4 MB, free: 2.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.005596, allocations: 7.938 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.005996, allocations: 119.3 kB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.006294, allocations: 204.3 kB / 484.7 MB, free: 2.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.006566, allocations: 154.4 kB / 484.9 MB, free: 2.078 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.007014, allocations: 499.1 kB / 485.4 MB, free: 1.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.007317, allocations: 292.8 kB / 485.7 MB, free: 1.305 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.00755, allocations: 275.4 kB / 485.9 MB, free: 1.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.007832, allocations: 188.5 kB / 486.1 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.007864, allocations: 28 kB / 486.1 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.008026, allocations: 100.3 kB / 486.2 MB, free: 0.7266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.008128, allocations: 136.9 kB / 486.4 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.008226, allocations: 123.7 kB / 486.5 MB, free: 484 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.01098, allocations: 326.9 kB / 486.8 MB, free: 156 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.01099, allocations: 0 / 486.8 MB, free: 156 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01099, allocations: 0.5938 kB / 486.8 MB, free: 156 kB / 442.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.01101, allocations: 1.219 kB / 486.8 MB, free: 156 kB / 442.7 MB 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.001039/0.01205, allocations: 0.5166 MB / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.01209, allocations: 13.19 kB / 487.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.01305, allocations: 186.9 kB / 487.5 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.01345, allocations: 214 kB / 487.7 MB, free: 15.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.01349, allocations: 26.27 kB / 487.8 MB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.01354, allocations: 32.36 kB / 487.8 MB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.01402, allocations: 419.4 kB / 488.2 MB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01403, allocations: 0.6875 kB / 488.2 MB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.01407, allocations: 17.72 kB / 488.2 MB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-05/0.01412, allocations: 32.64 kB / 488.3 MB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.01433, allocations: 106 kB / 488.4 MB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.01587, allocations: 1.324 MB / 489.7 MB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.0161, allocations: 90.61 kB / 489.8 MB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.01622, allocations: 61.36 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.01623, allocations: 1.375 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.01626, allocations: 34.56 kB / 489.9 MB, free: 12.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.01626, allocations: 5.719 kB / 489.9 MB, free: 12.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003455/0.01661, allocations: 118.5 kB / 490 MB, free: 12.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.01664, allocations: 56.75 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.0168, allocations: 215.3 kB / 490.3 MB, free: 12.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.01682, allocations: 25.7 kB / 490.3 MB, free: 12.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.01692, allocations: 208.1 kB / 490.5 MB, free: 12.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.01696, allocations: 48.53 kB / 490.5 MB, free: 12.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.01703, allocations: 53.86 kB / 490.6 MB, free: 12.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.01713, allocations: 332 kB / 490.9 MB, free: 11.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.256e-05/0.01718, allocations: 24.39 kB / 490.9 MB, free: 11.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.01727, allocations: 100.1 kB / 491 MB, free: 11.67 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.01743, allocations: 166.2 kB / 491.2 MB, free: 11.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.01743, allocations: 4 kB / 491.2 MB, free: 11.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002648/0.0177, allocations: 159.6 kB / 491.4 MB, free: 11.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01772, allocations: 5.094 kB / 491.4 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01772, allocations: 4 kB / 491.4 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.0179, allocations: 34.73 kB / 491.4 MB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01805, allocations: 52.42 kB / 491.4 MB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008564/0.0189, allocations: 1.191 MB / 492.6 MB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.01904, allocations: 29.16 kB / 492.7 MB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01906, allocations: 4 kB / 492.7 MB, free: 9.898 MB / 458.7 MB 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.0001169/0.01917, allocations: 133.6 kB / 492.8 MB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.01922, allocations: 19.92 kB / 492.8 MB, free: 9.738 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.01925, allocations: 26.16 kB / 492.8 MB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01926, allocations: 5.125 kB / 492.8 MB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01926, allocations: 0 / 492.8 MB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01927, allocations: 0 / 492.8 MB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006569/0.01992, allocations: 0.5857 MB / 493.4 MB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.01993, allocations: 4.656 kB / 493.4 MB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.02, allocations: 24.83 kB / 493.5 MB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.02014, allocations: 30.11 kB / 493.5 MB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.02015, allocations: 8.531 kB / 493.5 MB, free: 9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007813/0.02093, allocations: 1.183 MB / 494.7 MB, free: 7.727 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.02094, allocations: 7.938 kB / 494.7 MB, free: 7.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.02119, allocations: 290 kB / 495 MB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.02125, allocations: 27.83 kB / 495 MB, free: 7.367 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.02127, allocations: 8.562 kB / 495 MB, free: 7.359 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.0214, allocations: 13.88 kB / 495 MB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.02143, allocations: 13 kB / 495 MB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.02144, allocations: 8 kB / 495 MB, free: 7.328 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.387e-05/0.02152, allocations: 71.16 kB / 495.1 MB, free: 7.258 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02152, allocations: 0 / 495.1 MB, free: 7.258 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.02195, allocations: 80.69 kB / 495.2 MB, free: 7.18 MB / 458.7 MB 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 0.0001674/0.02212, allocations: 87.08 kB / 495.3 MB, free: 7.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.02252, allocations: 216.9 kB / 495.5 MB, free: 6.859 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.02253, allocations: 0 / 495.5 MB, free: 6.859 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.0227, allocations: 163.7 kB / 495.6 MB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.02305, allocations: 60.5 kB / 495.7 MB, free: 6.633 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.02416, allocations: 0.54 MB / 496.2 MB, free: 6.051 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.02427, allocations: 122 kB / 496.4 MB, free: 5.914 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.02437, allocations: 21.06 kB / 496.4 MB, free: 5.898 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.02451, allocations: 95.34 kB / 496.5 MB, free: 5.805 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.02451, allocations: 1.031 kB / 496.5 MB, free: 5.805 MB / 458.7 MB Notification: Performance of Templates: time 0.005231/0.02975, allocations: 2.619 MB / 499.1 MB, free: 3.379 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.821137719321996]