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.001123/0.001123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001738/0.002861, allocations: 440 kB / 10.41 MB, free: 284 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.001127/0.001127, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002736, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.012/1.012, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09401/1.106, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.7451/0.7451, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.268/1.013, allocations: 49.14 MB / 448.6 MB, free: 5.902 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 1.563e-06/1.563e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.321e-05, allocations: 2.312 kB / 449.9 MB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003207/0.00322, allocations: 3.04 MB / 453 MB, free: 1.617 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004727, allocations: 1.181 MB / 454.2 MB, free: 464 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.004856, allocations: 7.938 kB / 454.2 MB, free: 456 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003441/0.0052, allocations: 135.2 kB / 454.3 MB, free: 320 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.005497, allocations: 231.5 kB / 454.5 MB, free: 88 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.00578, allocations: 153.5 kB / 454.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.006213, allocations: 0.5294 MB / 455.2 MB, free: 15.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.006489, allocations: 277 kB / 455.5 MB, free: 15.14 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.006741, allocations: 303.3 kB / 455.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.007039, allocations: 217.2 kB / 456 MB, free: 14.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.007073, allocations: 28 kB / 456 MB, free: 14.6 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.007243, allocations: 103.7 kB / 456.1 MB, free: 14.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.007328, allocations: 120.4 kB / 456.2 MB, free: 14.38 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.007407, allocations: 100.8 kB / 456.3 MB, free: 14.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.007701, allocations: 302.9 kB / 456.6 MB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.00771, allocations: 0 / 456.6 MB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007711, allocations: 1.031 kB / 456.6 MB, free: 13.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.007719, allocations: 0 / 456.6 MB, free: 13.99 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.000602/0.008321, allocations: 0.6004 MB / 457.2 MB, free: 13.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.00835, allocations: 13.19 kB / 457.2 MB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/0.008902, allocations: 258.8 kB / 457.5 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.00912, allocations: 218.9 kB / 457.7 MB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.009135, allocations: 22.75 kB / 457.7 MB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.009166, allocations: 29.55 kB / 457.8 MB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.009472, allocations: 427.3 kB / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.009482, allocations: 192 / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.009502, allocations: 12.38 kB / 458.2 MB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.009537, allocations: 33.8 kB / 458.2 MB, free: 12.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.009653, allocations: 101.1 kB / 458.3 MB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008948/0.01055, allocations: 1.331 MB / 459.6 MB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.01069, allocations: 90 kB / 459.7 MB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.01078, allocations: 57.69 kB / 459.8 MB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.01078, allocations: 4.625 kB / 459.8 MB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.0108, allocations: 38.56 kB / 459.8 MB, free: 10.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.0108, allocations: 0.625 kB / 459.8 MB, free: 10.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002271/0.01103, allocations: 124.9 kB / 460 MB, free: 10.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.01105, allocations: 51.97 kB / 460 MB, free: 10.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.01117, allocations: 219.3 kB / 460.2 MB, free: 10.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.01118, allocations: 26.39 kB / 460.2 MB, free: 10.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.01125, allocations: 205.9 kB / 460.4 MB, free: 9.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.01128, allocations: 55.52 kB / 460.5 MB, free: 9.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.01132, allocations: 45.89 kB / 460.5 MB, free: 9.828 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.0114, allocations: 338.8 kB / 460.9 MB, free: 9.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.01142, allocations: 12.47 kB / 460.9 MB, free: 9.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.01149, allocations: 112.8 kB / 461 MB, free: 9.328 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.0116, allocations: 167.5 kB / 461.2 MB, free: 9.129 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.0116, allocations: 1.5 kB / 461.2 MB, free: 9.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001612/0.01176, allocations: 164 kB / 461.3 MB, free: 8.961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.01177, allocations: 4 kB / 461.3 MB, free: 8.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01178, allocations: 8.688 kB / 461.3 MB, free: 8.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.01191, allocations: 34.83 kB / 461.4 MB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01203, allocations: 59.91 kB / 461.4 MB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005612/0.01259, allocations: 1.183 MB / 462.6 MB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.01267, allocations: 27.78 kB / 462.6 MB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.01268, allocations: 13.25 kB / 462.7 MB, free: 7.535 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 7.854e-05/0.01276, allocations: 129.3 kB / 462.8 MB, free: 7.398 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.01278, allocations: 16.78 kB / 462.8 MB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.0128, allocations: 25.95 kB / 462.8 MB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.0128, allocations: 0 / 462.8 MB, free: 7.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01281, allocations: 4.594 kB / 462.8 MB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01281, allocations: 1.031 kB / 462.8 MB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.01322, allocations: 0.5771 MB / 463.4 MB, free: 6.727 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.01322, allocations: 5.406 kB / 463.4 MB, free: 6.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.01327, allocations: 23.94 kB / 463.4 MB, free: 6.699 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.0133, allocations: 33.28 kB / 463.5 MB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.166e-05/0.0134, allocations: 31.52 kB / 463.5 MB, free: 6.637 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.0134, allocations: 4 kB / 463.5 MB, free: 6.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004752/0.01388, allocations: 1.188 MB / 464.7 MB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01388, allocations: 5.75 kB / 464.7 MB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.01403, allocations: 292.5 kB / 465 MB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01404, allocations: 7.984 kB / 465 MB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.01412, allocations: 13 kB / 465 MB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.01414, allocations: 15.86 kB / 465 MB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01415, allocations: 12.53 kB / 465 MB, free: 4.977 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.01419, allocations: 61.66 kB / 465.1 MB, free: 4.918 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01419, allocations: 0 / 465.1 MB, free: 4.918 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.0144, allocations: 83.8 kB / 465.2 MB, free: 4.836 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 7.237e-05/0.01448, allocations: 88.34 kB / 465.3 MB, free: 4.738 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.01469, allocations: 221.5 kB / 465.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.0147, allocations: 0.7188 kB / 465.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.01483, allocations: 237.1 kB / 465.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.01518, allocations: 430.8 kB / 466.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.01712, allocations: 0.5558 MB / 466.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.229e-05/0.01718, allocations: 104.3 kB / 466.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.01725, allocations: 23.52 kB / 466.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.01736, allocations: 95.34 kB / 466.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01736, allocations: 5.344 kB / 466.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of Templates: time 0.00443/0.02179, allocations: 2.732 MB / 469.6 MB, free: 416 kB / 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.6234922977164388]