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.0009517/0.0009517, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009913/0.0009913, allocations: 173 kB / 23.36 MB, free: 1.133 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.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.8296/0.8296, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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. " [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.283e-06/1.283e-06, allocations: 0 / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.445e-05, allocations: 2.312 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.00382/0.003844, allocations: 2.992 MB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.005836, allocations: 1.144 MB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.005978, allocations: 11.94 kB / 484.2 MB, free: 2.785 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.00639, allocations: 115.8 kB / 484.3 MB, free: 2.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.006771, allocations: 201.8 kB / 484.5 MB, free: 2.477 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.007101, allocations: 156.2 kB / 484.6 MB, free: 2.324 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.007551, allocations: 486.2 kB / 485.1 MB, free: 1.848 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.00786, allocations: 297.6 kB / 485.4 MB, free: 1.559 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.0081, allocations: 271.4 kB / 485.7 MB, free: 1.293 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.008409, allocations: 192.7 kB / 485.8 MB, free: 1.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.008443, allocations: 29.25 kB / 485.9 MB, free: 1.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.008603, allocations: 91.86 kB / 486 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.008699, allocations: 143.6 kB / 486.1 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-05/0.008789, allocations: 120.8 kB / 486.2 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.009097, allocations: 334.8 kB / 486.5 MB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.0091, allocations: 3.984 kB / 486.6 MB, free: 408 kB / 442.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009101, allocations: 0.6562 kB / 486.6 MB, free: 408 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.009105, allocations: 0 / 486.6 MB, free: 408 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.0005637/0.009669, allocations: 0.5161 MB / 487.1 MB, free: 15.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.504e-05/0.009694, allocations: 8.656 kB / 487.1 MB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005625/0.01026, allocations: 182.4 kB / 487.3 MB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.01048, allocations: 219.2 kB / 487.5 MB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.0105, allocations: 25.02 kB / 487.5 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.01053, allocations: 31.09 kB / 487.5 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.01086, allocations: 419.4 kB / 487.9 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.01087, allocations: 4.172 kB / 487.9 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01089, allocations: 12.38 kB / 487.9 MB, free: 14.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.01093, allocations: 36.52 kB / 488 MB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01105, allocations: 102.8 kB / 488.1 MB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.01211, allocations: 1.318 MB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.01225, allocations: 105.9 kB / 489.5 MB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.377e-05/0.01235, allocations: 53.77 kB / 489.6 MB, free: 13.24 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.01235, allocations: 4 kB / 489.6 MB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.01237, allocations: 36.47 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.01237, allocations: 0 / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002206/0.01259, allocations: 127.1 kB / 489.7 MB, free: 13.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.01261, allocations: 51.41 kB / 489.8 MB, free: 13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01273, allocations: 220 kB / 490 MB, free: 12.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.01274, allocations: 25.7 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.01281, allocations: 209.4 kB / 490.2 MB, free: 12.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.01284, allocations: 43.62 kB / 490.3 MB, free: 12.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.01289, allocations: 49.88 kB / 490.3 MB, free: 12.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.01297, allocations: 338.8 kB / 490.6 MB, free: 12.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.01301, allocations: 13.28 kB / 490.7 MB, free: 12.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.0131, allocations: 115.9 kB / 490.8 MB, free: 11.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.01327, allocations: 152.6 kB / 490.9 MB, free: 11.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01327, allocations: 0 / 490.9 MB, free: 11.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002504/0.01352, allocations: 168.9 kB / 491.1 MB, free: 11.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01354, allocations: 4.875 kB / 491.1 MB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01355, allocations: 4 kB / 491.1 MB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.0137, allocations: 31.12 kB / 491.1 MB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.01386, allocations: 55.91 kB / 491.2 MB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008344/0.0147, allocations: 1.192 MB / 492.4 MB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01482, allocations: 31.78 kB / 492.4 MB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.01484, allocations: 12.47 kB / 492.4 MB, free: 10.15 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.0001067/0.01495, allocations: 130.8 kB / 492.5 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.01499, allocations: 15.98 kB / 492.6 MB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.01502, allocations: 21.47 kB / 492.6 MB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.01503, allocations: 7.984 kB / 492.6 MB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01503, allocations: 0.5625 kB / 492.6 MB, free: 9.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01504, allocations: 5.062 kB / 492.6 MB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.01569, allocations: 0.5784 MB / 493.2 MB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01569, allocations: 0 / 493.2 MB, free: 9.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.01577, allocations: 25.05 kB / 493.2 MB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.01588, allocations: 34 kB / 493.2 MB, free: 9.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01589, allocations: 8.609 kB / 493.2 MB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/0.01661, allocations: 1.186 MB / 494.4 MB, free: 7.98 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01661, allocations: 4 kB / 494.4 MB, free: 7.977 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.01679, allocations: 300.2 kB / 494.7 MB, free: 7.645 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.01682, allocations: 24.36 kB / 494.7 MB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.01684, allocations: 4 kB / 494.7 MB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.01691, allocations: 13.03 kB / 494.8 MB, free: 7.605 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.01693, allocations: 20.88 kB / 494.8 MB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.01694, allocations: 4 kB / 494.8 MB, free: 7.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.01699, allocations: 71.16 kB / 494.8 MB, free: 7.512 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01699, allocations: 0.6562 kB / 494.8 MB, free: 7.512 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.0172, allocations: 79.78 kB / 494.9 MB, free: 7.434 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 6.84e-05/0.01727, allocations: 86.55 kB / 495 MB, free: 7.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.01748, allocations: 214.4 kB / 495.2 MB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.01748, allocations: 0 / 495.2 MB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-05/0.01758, allocations: 168.1 kB / 495.4 MB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01781, allocations: 58 kB / 495.4 MB, free: 6.887 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.01852, allocations: 0.543 MB / 496 MB, free: 6.301 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.01859, allocations: 112.9 kB / 496.1 MB, free: 6.172 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.258e-05/0.01865, allocations: 21.62 kB / 496.1 MB, free: 6.156 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.01876, allocations: 96.56 kB / 496.2 MB, free: 6.062 MB / 458.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01876, allocations: 0 / 496.2 MB, free: 6.062 MB / 458.7 MB Notification: Performance of Templates: time 0.004302/0.02306, allocations: 2.612 MB / 498.8 MB, free: 3.648 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6653069658204913]