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.001017/0.001017, allocations: 80.94 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.001027/0.001027, 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.064/1.064, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8594/0.8594, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.393e-06/1.393e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.382e-05, allocations: 4.844 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003715/0.003738, allocations: 2.991 MB / 483.4 MB, free: 3.562 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.005515, allocations: 1.139 MB / 484.5 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.00567, allocations: 8.594 kB / 484.5 MB, free: 2.418 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004532/0.006123, allocations: 119.3 kB / 484.6 MB, free: 2.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.00647, allocations: 197.1 kB / 484.8 MB, free: 2.109 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.006796, allocations: 153.2 kB / 485 MB, free: 1.961 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.007312, allocations: 499.2 kB / 485.5 MB, free: 1.473 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.007702, allocations: 292.7 kB / 485.8 MB, free: 1.188 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.008094, allocations: 271.4 kB / 486 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.008508, allocations: 198.4 kB / 486.2 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.008547, allocations: 28 kB / 486.2 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.008736, allocations: 100.6 kB / 486.3 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.008846, allocations: 131.6 kB / 486.5 MB, free: 488 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.008944, allocations: 121.2 kB / 486.6 MB, free: 368 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.009302, allocations: 334.8 kB / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.009304, allocations: 0 / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.009305, allocations: 0 / 486.9 MB, free: 32 kB / 442.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.00931, allocations: 0.8438 kB / 486.9 MB, free: 32 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.0006206/0.009931, allocations: 0.5201 MB / 487.4 MB, free: 15.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.009962, allocations: 12.03 kB / 487.4 MB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.01059, allocations: 178.3 kB / 487.6 MB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.01094, allocations: 210.9 kB / 487.8 MB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.01097, allocations: 25.64 kB / 487.8 MB, free: 15.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.01101, allocations: 28.38 kB / 487.9 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.01145, allocations: 431.9 kB / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.01147, allocations: 0.8125 kB / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.0115, allocations: 12.38 kB / 488.3 MB, free: 14.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000445/0.01194, allocations: 37.81 kB / 488.3 MB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01209, allocations: 101.9 kB / 488.4 MB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01321, allocations: 1.326 MB / 489.8 MB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.01338, allocations: 99.33 kB / 489.9 MB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.01347, allocations: 52.83 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.01348, allocations: 4 kB / 489.9 MB, free: 12.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.0135, allocations: 34.56 kB / 490 MB, free: 12.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.01351, allocations: 0.7812 kB / 490 MB, free: 12.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002829/0.01379, allocations: 127.9 kB / 490.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.01382, allocations: 55.41 kB / 490.1 MB, free: 12.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.01394, allocations: 211.3 kB / 490.3 MB, free: 12.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01396, allocations: 31.45 kB / 490.4 MB, free: 12.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.01406, allocations: 208.1 kB / 490.6 MB, free: 12.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.01409, allocations: 51.62 kB / 490.6 MB, free: 12.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.01415, allocations: 45.88 kB / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.01424, allocations: 332.1 kB / 491 MB, free: 11.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.01427, allocations: 20.45 kB / 491 MB, free: 11.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.74e-05/0.01435, allocations: 108 kB / 491.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01448, allocations: 157.1 kB / 491.3 MB, free: 11.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.01449, allocations: 4 kB / 491.3 MB, free: 11.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002445/0.01473, allocations: 165.1 kB / 491.4 MB, free: 11.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.01476, allocations: 8 kB / 491.4 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01477, allocations: 0 / 491.4 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.01497, allocations: 39.42 kB / 491.5 MB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.0151, allocations: 47.92 kB / 491.5 MB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/0.0158, allocations: 1.195 MB / 492.7 MB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.0159, allocations: 32.78 kB / 492.8 MB, free: 9.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.01592, allocations: 11.94 kB / 492.8 MB, free: 9.766 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 9.648e-05/0.01601, allocations: 126 kB / 492.9 MB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.01604, allocations: 15.98 kB / 492.9 MB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.01607, allocations: 31.2 kB / 492.9 MB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01607, allocations: 0 / 492.9 MB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.01608, allocations: 0 / 492.9 MB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01608, allocations: 0 / 492.9 MB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.0166, allocations: 0.5817 MB / 493.5 MB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.0166, allocations: 0 / 493.5 MB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.01666, allocations: 29.45 kB / 493.6 MB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-05/0.01676, allocations: 34.2 kB / 493.6 MB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01677, allocations: 7.938 kB / 493.6 MB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005815/0.01735, allocations: 1.191 MB / 494.8 MB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01735, allocations: 0 / 494.8 MB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.01754, allocations: 295.8 kB / 495.1 MB, free: 7.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.01759, allocations: 31.84 kB / 495.1 MB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.01761, allocations: 0 / 495.1 MB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.01769, allocations: 17.05 kB / 495.1 MB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.01772, allocations: 20.45 kB / 495.1 MB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.01773, allocations: 4 kB / 495.1 MB, free: 7.199 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.01779, allocations: 71.91 kB / 495.2 MB, free: 7.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.01779, allocations: 0 / 495.2 MB, free: 7.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.01807, allocations: 85.34 kB / 495.3 MB, free: 7.047 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 0.0003855/0.01846, allocations: 76.42 kB / 495.4 MB, free: 6.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.01872, allocations: 210.8 kB / 495.6 MB, free: 6.742 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.01873, allocations: 5.125 kB / 495.6 MB, free: 6.738 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.01883, allocations: 156 kB / 495.7 MB, free: 6.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.01909, allocations: 64.55 kB / 495.8 MB, free: 6.516 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.01993, allocations: 0.558 MB / 496.4 MB, free: 5.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.02, allocations: 106.9 kB / 496.5 MB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.02008, allocations: 21.92 kB / 496.5 MB, free: 5.777 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.02019, allocations: 95.34 kB / 496.6 MB, free: 5.684 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02019, allocations: 0.6875 kB / 496.6 MB, free: 5.684 MB / 458.7 MB Notification: Performance of Templates: time 0.005555/0.02575, allocations: 2.618 MB / 499.2 MB, free: 3.262 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.804492425173521]