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.0009004/0.0009004, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002111, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009426/0.0009426, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.00212, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9946/0.9946, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09697/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8163/0.8163, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2884/1.105, allocations: 49.12 MB / 448.4 MB, free: 5.996 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 2.054e-06/2.054e-06, allocations: 0 / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.409e-05, allocations: 3.984 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005373/0.005407, allocations: 3.045 MB / 452.7 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.007824, allocations: 1.169 MB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.008014, allocations: 7.938 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.008573, allocations: 137.2 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.009024, allocations: 232 kB / 454.3 MB, free: 212 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.009436, allocations: 160.1 kB / 454.4 MB, free: 52 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.01007, allocations: 0.53 MB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.01051, allocations: 273.4 kB / 455.2 MB, free: 15.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.01092, allocations: 303.4 kB / 455.5 MB, free: 14.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004646/0.01138, allocations: 215.4 kB / 455.7 MB, free: 14.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.01143, allocations: 34.09 kB / 455.7 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.01171, allocations: 107.7 kB / 455.9 MB, free: 14.61 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.01184, allocations: 111.7 kB / 456 MB, free: 14.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.01197, allocations: 99.81 kB / 456.1 MB, free: 14.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.01244, allocations: 302.9 kB / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.041e-05/0.01246, allocations: 0 / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01246, allocations: 0.9062 kB / 456.4 MB, free: 14.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.01248, allocations: 0 / 456.4 MB, free: 14.11 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000989/0.01347, allocations: 0.5931 MB / 456.9 MB, free: 13.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.01351, allocations: 8.031 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.01461, allocations: 264 kB / 457.2 MB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.01495, allocations: 214.5 kB / 457.4 MB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.01497, allocations: 26.33 kB / 457.4 MB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.015, allocations: 30.16 kB / 457.5 MB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.01536, allocations: 427.4 kB / 457.9 MB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01537, allocations: 192 / 457.9 MB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.01539, allocations: 12.88 kB / 457.9 MB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.01543, allocations: 37.95 kB / 457.9 MB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.01557, allocations: 97.47 kB / 458 MB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01664, allocations: 1.336 MB / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01682, allocations: 95.06 kB / 459.5 MB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.01692, allocations: 52.83 kB / 459.5 MB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.01693, allocations: 9.422 kB / 459.5 MB, free: 10.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.01696, allocations: 38.5 kB / 459.6 MB, free: 10.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.01696, allocations: 0 / 459.6 MB, free: 10.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002889/0.01725, allocations: 125.3 kB / 459.7 MB, free: 10.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.01728, allocations: 55.41 kB / 459.7 MB, free: 10.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.01741, allocations: 208.2 kB / 459.9 MB, free: 10.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01743, allocations: 29.7 kB / 460 MB, free: 10.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.01751, allocations: 212.6 kB / 460.2 MB, free: 10.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.01754, allocations: 59.52 kB / 460.2 MB, free: 9.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.0176, allocations: 46.53 kB / 460.3 MB, free: 9.938 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.01768, allocations: 330.8 kB / 460.6 MB, free: 9.605 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.01771, allocations: 21.36 kB / 460.6 MB, free: 9.586 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.01778, allocations: 101.5 kB / 460.7 MB, free: 9.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.01791, allocations: 159.7 kB / 460.9 MB, free: 9.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01791, allocations: 4.625 kB / 460.9 MB, free: 9.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000216/0.01813, allocations: 166.6 kB / 461.1 MB, free: 9.086 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.01815, allocations: 8 kB / 461.1 MB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01816, allocations: 4.906 kB / 461.1 MB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.01833, allocations: 34.42 kB / 461.1 MB, free: 9.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.01846, allocations: 57.66 kB / 461.2 MB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007117/0.01917, allocations: 1.186 MB / 462.3 MB, free: 7.699 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.924e-05/0.01926, allocations: 19.84 kB / 462.4 MB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.01927, allocations: 15.94 kB / 462.4 MB, free: 7.664 MB / 442.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 8.605e-05/0.01936, allocations: 125.5 kB / 462.5 MB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.01938, allocations: 20.89 kB / 462.5 MB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.01941, allocations: 25.45 kB / 462.5 MB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01941, allocations: 7.609 kB / 462.6 MB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01941, allocations: 0 / 462.6 MB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01942, allocations: 0 / 462.6 MB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.0199, allocations: 0.5858 MB / 463.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.0199, allocations: 1.125 kB / 463.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.01995, allocations: 24 kB / 463.2 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.01999, allocations: 20.55 kB / 463.2 MB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-05/0.02008, allocations: 34.23 kB / 463.2 MB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.02009, allocations: 5.344 kB / 463.2 MB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/0.02097, allocations: 1.195 MB / 464.4 MB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.02097, allocations: 3.938 kB / 464.4 MB, free: 5.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.02116, allocations: 301.4 kB / 464.7 MB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.02117, allocations: 7.984 kB / 464.7 MB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.02124, allocations: 9.594 kB / 464.7 MB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.02127, allocations: 15.92 kB / 464.7 MB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.02127, allocations: 7.938 kB / 464.8 MB, free: 5.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.227e-05/0.02132, allocations: 68.12 kB / 464.8 MB, free: 5.035 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02132, allocations: 0 / 464.8 MB, free: 5.035 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.02156, allocations: 84.33 kB / 464.9 MB, free: 4.953 MB / 442.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 9.633e-05/0.02166, allocations: 90.78 kB / 465 MB, free: 4.855 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.02195, allocations: 206.6 kB / 465.2 MB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.02196, allocations: 5.438 kB / 465.2 MB, free: 4.637 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.02208, allocations: 156 kB / 465.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.02238, allocations: 76.61 kB / 465.4 MB, free: 4.398 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.02449, allocations: 0.5627 MB / 466 MB, free: 3.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.02456, allocations: 113.2 kB / 466.1 MB, free: 3.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.02464, allocations: 18.78 kB / 466.1 MB, free: 3.645 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02475, allocations: 92.22 kB / 466.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02475, allocations: 0 / 466.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of Templates: time 0.005318/0.03007, allocations: 2.734 MB / 468.9 MB, free: 1.02 MB / 442.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.636963475495577]