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.000974/0.000974, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001153/0.001153, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9523/0.9523, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7645/0.7645, allocations: 154.9 MB / 415.1 MB, free: 264 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.643e-06/1.643e-06, allocations: 0 / 0.5211 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.822e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.003657/0.003685, allocations: 2.936 MB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.00531, allocations: 1.111 MB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.005451, allocations: 9.688 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.005952, allocations: 115.4 kB / 0.5252 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003076/0.00626, allocations: 204.5 kB / 0.5254 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.006503, allocations: 153.3 kB / 0.5255 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.006912, allocations: 497.9 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.007301, allocations: 289.4 kB / 0.5263 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.007535, allocations: 276.1 kB / 0.5265 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.007839, allocations: 204.9 kB / 0.5267 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.007879, allocations: 28 kB / 0.5267 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.008044, allocations: 99.73 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.008154, allocations: 139.6 kB / 0.527 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.008244, allocations: 125.1 kB / 0.5271 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.008569, allocations: 322.9 kB / 0.5274 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.008572, allocations: 0 / 0.5274 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.82e-07/0.008573, allocations: 1.344 kB / 0.5274 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.008578, allocations: 3.938 kB / 0.5274 GB, free: 11.11 MB / 0.4948 GB 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.0006563/0.009235, allocations: 0.6466 MB / 0.528 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.009278, allocations: 12.03 kB / 0.528 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.009792, allocations: 173 kB / 0.5282 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.01004, allocations: 234.6 kB / 0.5284 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.01006, allocations: 21.03 kB / 0.5285 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.01009, allocations: 32.36 kB / 0.5285 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.01043, allocations: 444.8 kB / 0.5289 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.01044, allocations: 5.125 kB / 0.5289 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.01046, allocations: 16.36 kB / 0.5289 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.01051, allocations: 35.83 kB / 0.529 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.01063, allocations: 108.4 kB / 0.5291 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.01179, allocations: 1.86 MB / 0.5309 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.01195, allocations: 99.23 kB / 0.531 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.01204, allocations: 61.11 kB / 0.531 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-06/0.01205, allocations: 4 kB / 0.531 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01207, allocations: 41.33 kB / 0.5311 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.01207, allocations: 0.5 kB / 0.5311 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14): time 0.000281/0.01236, allocations: 155.5 kB / 0.5312 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.01238, allocations: 51.41 kB / 0.5313 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01252, allocations: 274.5 kB / 0.5315 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.01253, allocations: 32.14 kB / 0.5316 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01263, allocations: 258.9 kB / 0.5318 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.01266, allocations: 59.52 kB / 0.5319 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.01272, allocations: 55.48 kB / 0.5319 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01284, allocations: 0.504 MB / 0.5324 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.01287, allocations: 20.39 kB / 0.5324 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.01296, allocations: 152.6 kB / 0.5326 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.01309, allocations: 185.6 kB / 0.5328 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01309, allocations: 0.7812 kB / 0.5328 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000207/0.0133, allocations: 207.2 kB / 0.533 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01331, allocations: 6.812 kB / 0.533 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01332, allocations: 4 kB / 0.533 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.01346, allocations: 35.66 kB / 0.533 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.01356, allocations: 45.48 kB / 0.533 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007918/0.01435, allocations: 1.73 MB / 0.5347 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.01442, allocations: 23.78 kB / 0.5348 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.01443, allocations: 8.625 kB / 0.5348 GB, free: 3.062 MB / 0.4948 GB 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.568e-05/0.01453, allocations: 177.3 kB / 0.5349 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.01456, allocations: 25.36 kB / 0.535 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.01458, allocations: 21.47 kB / 0.535 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.01458, allocations: 0 / 0.535 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01458, allocations: 4 kB / 0.535 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01459, allocations: 4.5 kB / 0.535 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.01506, allocations: 0.5639 MB / 0.5355 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01506, allocations: 0 / 0.5355 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.0151, allocations: 23.98 kB / 0.5356 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/0.01519, allocations: 33.5 kB / 0.5356 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.0152, allocations: 4 kB / 0.5356 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006553/0.01586, allocations: 1.72 MB / 0.5373 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01586, allocations: 7.938 kB / 0.5373 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.01607, allocations: 331.4 kB / 0.5376 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.01611, allocations: 29.23 kB / 0.5376 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01612, allocations: 8 kB / 0.5376 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.0162, allocations: 17.03 kB / 0.5377 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.01622, allocations: 15.97 kB / 0.5377 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01622, allocations: 4 kB / 0.5377 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.798e-05/0.0163, allocations: 185.5 kB / 0.5379 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.0163, allocations: 6.094 kB / 0.5379 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002234/0.01652, allocations: 79.78 kB / 0.5379 GB, free: 15.59 MB / 0.5105 GB 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 9.798e-05/0.01662, allocations: 107.2 kB / 0.538 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.01687, allocations: 280.2 kB / 0.5383 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01687, allocations: 0 / 0.5383 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01698, allocations: 222.7 kB / 0.5385 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01726, allocations: 65.92 kB / 0.5386 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.01801, allocations: 0.5347 MB / 0.5391 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.01807, allocations: 104.3 kB / 0.5392 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.752e-05/0.01814, allocations: 30.11 kB / 0.5392 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.01824, allocations: 114.2 kB / 0.5393 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/0.01825, allocations: 0 / 0.5393 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of Templates: time 0.004394/0.02264, allocations: 2.618 MB / 0.5419 GB, free: 11.59 MB / 0.5105 GB " [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.5247499137185514]