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.0011/0.0011, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.00271, 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.001156/0.001156, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002709, allocations: 463.6 kB / 11.69 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 1.027/1.027, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0933/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8335/0.8335, allocations: 155.3 MB / 399.2 MB, free: 15.94 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.2795/1.113, allocations: 49.13 MB / 448.4 MB, free: 6.02 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.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.953e-06/1.953e-06, allocations: 0 / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.427e-05, allocations: 4.141 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.003967/0.003991, allocations: 2.622 MB / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.005709, allocations: 1.023 MB / 453.3 MB, free: 1.164 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.005845, allocations: 5.906 kB / 453.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.006272, allocations: 125.8 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.006598, allocations: 160 kB / 453.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.006883, allocations: 108.6 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.007301, allocations: 350.7 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.007609, allocations: 174.2 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.007852, allocations: 203.9 kB / 454.4 MB, free: 68 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.00818, allocations: 136.9 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.00821, allocations: 16 kB / 454.6 MB, free: 15.92 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.008422, allocations: 99.72 kB / 454.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.534e-05/0.008497, allocations: 72.53 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.008576, allocations: 63.88 kB / 454.8 MB, free: 15.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.008925, allocations: 213.2 kB / 455 MB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.008943, allocations: 0 / 455 MB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008945, allocations: 0 / 455 MB, free: 15.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.008963, allocations: 0 / 455 MB, free: 15.48 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.000664/0.009627, allocations: 470.4 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.009661, allocations: 8.656 kB / 455.5 MB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.01019, allocations: 191.5 kB / 455.7 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.01051, allocations: 170.9 kB / 455.8 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.01053, allocations: 16.73 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.01056, allocations: 22.11 kB / 455.9 MB, free: 14.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.01084, allocations: 275.8 kB / 456.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.01085, allocations: 192 / 456.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.01087, allocations: 8.375 kB / 456.1 MB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.01091, allocations: 20.58 kB / 456.2 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.01102, allocations: 68.48 kB / 456.2 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.01191, allocations: 0.8962 MB / 457.1 MB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.01206, allocations: 67.41 kB / 457.2 MB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.01209, allocations: 16.84 kB / 457.2 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-06/0.01209, allocations: 0 / 457.2 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.01212, allocations: 34.56 kB / 457.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.01212, allocations: 4.906 kB / 457.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002798/0.0124, allocations: 87.3 kB / 457.3 MB, free: 12.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.01242, allocations: 59.34 kB / 457.4 MB, free: 12.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.01267, allocations: 184.3 kB / 457.6 MB, free: 12.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.01268, allocations: 25.7 kB / 457.6 MB, free: 12.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.01275, allocations: 167.9 kB / 457.8 MB, free: 12.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.01277, allocations: 24.41 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.01282, allocations: 33.7 kB / 457.8 MB, free: 12.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.0129, allocations: 327.4 kB / 458.1 MB, free: 12.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.01292, allocations: 8.656 kB / 458.1 MB, free: 12.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.01298, allocations: 80.5 kB / 458.2 MB, free: 12.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.01308, allocations: 110.9 kB / 458.3 MB, free: 11.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01308, allocations: 0 / 458.3 MB, free: 11.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001887/0.01327, allocations: 132.8 kB / 458.5 MB, free: 11.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01328, allocations: 4 kB / 458.5 MB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.01329, allocations: 4 kB / 458.5 MB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.01346, allocations: 31.89 kB / 458.5 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.01355, allocations: 40.42 kB / 458.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/0.01427, allocations: 1.186 MB / 459.7 MB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.01436, allocations: 19.83 kB / 459.7 MB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.01437, allocations: 8.719 kB / 459.7 MB, free: 10.35 MB / 442.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 8.322e-05/0.01445, allocations: 129.4 kB / 459.9 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.01448, allocations: 11.98 kB / 459.9 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.0145, allocations: 14.06 kB / 459.9 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.0145, allocations: 1.438 kB / 459.9 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.0145, allocations: 4 kB / 459.9 MB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01451, allocations: 7.922 kB / 459.9 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.01479, allocations: 253 kB / 460.2 MB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01479, allocations: 0.7812 kB / 460.2 MB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.01482, allocations: 8 kB / 460.2 MB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.01485, allocations: 16.64 kB / 460.2 MB, free: 9.887 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.01495, allocations: 34.7 kB / 460.2 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.01496, allocations: 0 / 460.2 MB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008723/0.01583, allocations: 1.189 MB / 461.4 MB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01583, allocations: 7.984 kB / 461.4 MB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.01596, allocations: 185.8 kB / 461.6 MB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.01598, allocations: 0 / 461.6 MB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.01606, allocations: 8.562 kB / 461.6 MB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.01608, allocations: 3.984 kB / 461.6 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01608, allocations: 5.031 kB / 461.6 MB, free: 8.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.01613, allocations: 45.86 kB / 461.7 MB, free: 8.301 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01613, allocations: 0.7188 kB / 461.7 MB, free: 8.301 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.0164, allocations: 55.83 kB / 461.7 MB, free: 8.246 MB / 442.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 9.63e-05/0.0165, allocations: 81.48 kB / 461.8 MB, free: 8.156 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.01672, allocations: 177.2 kB / 462 MB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.01673, allocations: 4.594 kB / 462 MB, free: 7.965 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.01681, allocations: 137.2 kB / 462.1 MB, free: 7.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01707, allocations: 46.02 kB / 462.1 MB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.01923, allocations: 372.7 kB / 462.5 MB, free: 7.387 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.799e-05/0.0193, allocations: 91.95 kB / 462.6 MB, free: 7.277 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.01937, allocations: 8.406 kB / 462.6 MB, free: 7.273 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.01946, allocations: 80.22 kB / 462.7 MB, free: 7.195 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01946, allocations: 0 / 462.7 MB, free: 7.195 MB / 442.7 MB Notification: Performance of Templates: time 0.004412/0.02387, allocations: 1.846 MB / 464.5 MB, free: 5.488 MB / 442.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6504706731066108]