Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007753/0.0007753, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001817, 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.00112/0.00112, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002513, 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 1.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09172/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/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7802/0.7802, allocations: 154.6 MB / 398.5 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2626/1.043, allocations: 49.03 MB / 447.6 MB, free: 6.684 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/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_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 448.9 MB, free: 5.426 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.077e-05, allocations: 4.422 kB / 448.9 MB, free: 5.422 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003198/0.003218, allocations: 3.044 MB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004519, allocations: 1.168 MB / 453.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004633, allocations: 7.938 kB / 453.1 MB, free: 1.258 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.004971, allocations: 132.2 kB / 453.2 MB, free: 1.129 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.005218, allocations: 232.5 kB / 453.4 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.005432, allocations: 164.4 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.005788, allocations: 0.5306 MB / 454.1 MB, free: 216 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.006071, allocations: 272.1 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.006295, allocations: 303.3 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.006565, allocations: 217.3 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.006596, allocations: 29.06 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.006752, allocations: 107.7 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.006831, allocations: 116.6 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.006912, allocations: 99.81 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.00744, allocations: 302.9 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.476e-05/0.007455, allocations: 0.625 kB / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007456, allocations: 0 / 455.5 MB, free: 14.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.007473, allocations: 0.6562 kB / 455.5 MB, free: 14.8 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.0006182/0.008091, allocations: 0.5936 MB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.701e-05/0.008118, allocations: 8.031 kB / 456.1 MB, free: 14.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.008633, allocations: 262.8 kB / 456.4 MB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.008841, allocations: 215.4 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.008858, allocations: 25.02 kB / 456.6 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.008885, allocations: 33.88 kB / 456.7 MB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.009192, allocations: 423.4 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009203, allocations: 4.125 kB / 457.1 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.009223, allocations: 12.38 kB / 457.1 MB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.00926, allocations: 38.62 kB / 457.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.009377, allocations: 93.52 kB / 457.2 MB, free: 13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.01027, allocations: 1.333 MB / 458.6 MB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.01043, allocations: 98.31 kB / 458.7 MB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.01051, allocations: 54.05 kB / 458.7 MB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.01052, allocations: 1.172 kB / 458.7 MB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.01054, allocations: 39.31 kB / 458.7 MB, free: 11.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.01054, allocations: 0 / 458.7 MB, free: 11.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.000249/0.01079, allocations: 134.9 kB / 458.9 MB, free: 11.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.01081, allocations: 56.03 kB / 458.9 MB, free: 11.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.011, allocations: 211.3 kB / 459.1 MB, free: 10.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.01101, allocations: 26.27 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.01109, allocations: 208.7 kB / 459.4 MB, free: 10.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.01112, allocations: 55.56 kB / 459.4 MB, free: 10.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.01116, allocations: 50.5 kB / 459.5 MB, free: 10.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.01124, allocations: 331.7 kB / 459.8 MB, free: 10.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.01126, allocations: 16.47 kB / 459.8 MB, free: 10.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.01133, allocations: 112 kB / 459.9 MB, free: 10.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.01148, allocations: 152.6 kB / 460.1 MB, free: 9.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.01149, allocations: 4 kB / 460.1 MB, free: 9.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002296/0.01171, allocations: 165.2 kB / 460.2 MB, free: 9.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01173, allocations: 11.98 kB / 460.2 MB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01174, allocations: 3.984 kB / 460.2 MB, free: 9.766 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.0119, allocations: 31.25 kB / 460.3 MB, free: 9.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.01205, allocations: 55.91 kB / 460.3 MB, free: 9.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006805/0.01273, allocations: 1.196 MB / 461.5 MB, free: 8.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01284, allocations: 16.53 kB / 461.5 MB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.01285, allocations: 15.94 kB / 461.6 MB, free: 8.359 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.967e-05/0.01294, allocations: 130.6 kB / 461.7 MB, free: 8.223 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.01298, allocations: 19.97 kB / 461.7 MB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.01301, allocations: 21.47 kB / 461.7 MB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01301, allocations: 4.938 kB / 461.7 MB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01302, allocations: 0 / 461.7 MB, free: 8.176 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01302, allocations: 3.984 kB / 461.7 MB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/0.01356, allocations: 0.5782 MB / 462.3 MB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.01357, allocations: 0.5938 kB / 462.3 MB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.01364, allocations: 31.92 kB / 462.3 MB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.01368, allocations: 17.94 kB / 462.4 MB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001067/0.01379, allocations: 33.7 kB / 462.4 MB, free: 7.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.0138, allocations: 7.938 kB / 462.4 MB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008329/0.01463, allocations: 1.195 MB / 463.6 MB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01463, allocations: 5.875 kB / 463.6 MB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.01483, allocations: 302.6 kB / 463.9 MB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01485, allocations: 4 kB / 463.9 MB, free: 5.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01496, allocations: 8.531 kB / 463.9 MB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.01498, allocations: 20.45 kB / 463.9 MB, free: 5.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01499, allocations: 9.391 kB / 463.9 MB, free: 5.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.01505, allocations: 63.95 kB / 464 MB, free: 5.723 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01505, allocations: 2.25 kB / 464 MB, free: 5.723 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003013/0.01535, allocations: 83.8 kB / 464.1 MB, free: 5.641 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 9e-05/0.01544, allocations: 84.34 kB / 464.2 MB, free: 5.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.0157, allocations: 206.4 kB / 464.4 MB, free: 5.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.01571, allocations: 4 kB / 464.4 MB, free: 5.328 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01583, allocations: 164.8 kB / 464.5 MB, free: 5.152 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.01614, allocations: 70.81 kB / 464.6 MB, free: 5.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.01873, allocations: 0.5557 MB / 465.2 MB, free: 4.484 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.262e-05/0.01881, allocations: 108.3 kB / 465.3 MB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.007e-05/0.0189, allocations: 30.75 kB / 465.3 MB, free: 4.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01902, allocations: 91.34 kB / 465.4 MB, free: 4.246 MB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01902, allocations: 0.625 kB / 465.4 MB, free: 4.246 MB / 442.7 MB Notification: Performance of Templates: time 0.005286/0.02431, allocations: 2.738 MB / 468.1 MB, free: 1.715 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6366551890969276]