Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001439/0.001439, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001162/0.001162, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.7984/0.7984, allocations: 154.9 MB / 415.9 MB, free: 276 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5219 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.418e-05, allocations: 3.719 kB / 0.5219 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.00315/0.003174, allocations: 2.523 MB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004449, allocations: 0.9899 MB / 0.5253 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.00456, allocations: 4 kB / 0.5253 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.005012, allocations: 97.17 kB / 0.5254 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.005252, allocations: 144.9 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.005429, allocations: 103.7 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.005693, allocations: 318.9 kB / 0.5259 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.00599, allocations: 184.4 kB / 0.5261 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.006147, allocations: 189.2 kB / 0.5263 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.006368, allocations: 127.7 kB / 0.5264 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.006395, allocations: 20 kB / 0.5264 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.00652, allocations: 84.55 kB / 0.5265 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.00659, allocations: 91.8 kB / 0.5266 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.006652, allocations: 77.22 kB / 0.5267 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.006904, allocations: 235.2 kB / 0.5269 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006908, allocations: 0 / 0.5269 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006909, allocations: 0 / 0.5269 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006913, allocations: 1.344 kB / 0.5269 GB, free: 12.42 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005128/0.007426, allocations: 0.5311 MB / 0.5274 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.007459, allocations: 13.31 kB / 0.5274 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.007815, allocations: 111.3 kB / 0.5275 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.008007, allocations: 184.2 kB / 0.5277 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.008021, allocations: 12.75 kB / 0.5277 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.008043, allocations: 24.36 kB / 0.5277 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.008266, allocations: 278.3 kB / 0.528 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.008276, allocations: 0.6875 kB / 0.528 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.008293, allocations: 12.91 kB / 0.528 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.008323, allocations: 20.3 kB / 0.528 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.008409, allocations: 69.73 kB / 0.5281 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.009272, allocations: 1.242 MB / 0.5293 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.009405, allocations: 68.08 kB / 0.5294 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.009431, allocations: 19.83 kB / 0.5294 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.009438, allocations: 0.9375 kB / 0.5294 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.009461, allocations: 41.33 kB / 0.5294 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.009463, allocations: 3.938 kB / 0.5294 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002583/0.009722, allocations: 108.5 kB / 0.5296 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.009745, allocations: 55.34 kB / 0.5296 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.009863, allocations: 237.7 kB / 0.5298 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.009874, allocations: 25.7 kB / 0.5299 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.009956, allocations: 214.7 kB / 0.5301 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.009973, allocations: 31.73 kB / 0.5301 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.01001, allocations: 39.36 kB / 0.5301 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.01013, allocations: 0.4989 MB / 0.5306 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.01015, allocations: 11.98 kB / 0.5306 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.01021, allocations: 108.8 kB / 0.5307 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.01032, allocations: 138.6 kB / 0.5309 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01032, allocations: 4.062 kB / 0.5309 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001909/0.01051, allocations: 157.5 kB / 0.531 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01053, allocations: 8 kB / 0.531 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01054, allocations: 4.297 kB / 0.531 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.01071, allocations: 41.81 kB / 0.5311 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.01077, allocations: 23.94 kB / 0.5311 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008182/0.01159, allocations: 1.726 MB / 0.5328 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.01166, allocations: 19.89 kB / 0.5328 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.01166, allocations: 6.438 kB / 0.5328 GB, free: 5.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.007e-05/0.01175, allocations: 164.6 kB / 0.533 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.01178, allocations: 19.84 kB / 0.533 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.0118, allocations: 17.47 kB / 0.533 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.0118, allocations: 0 / 0.533 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01181, allocations: 6.812 kB / 0.533 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01181, allocations: 0 / 0.533 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.0121, allocations: 341.7 kB / 0.5333 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01211, allocations: 0 / 0.5333 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.01213, allocations: 11.94 kB / 0.5333 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.01225, allocations: 41.14 kB / 0.5334 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.01225, allocations: 4 kB / 0.5334 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006908/0.01294, allocations: 1.711 MB / 0.5351 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01295, allocations: 0.8438 kB / 0.5351 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.01308, allocations: 239.4 kB / 0.5353 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.01311, allocations: 21.36 kB / 0.5353 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.01312, allocations: 3.984 kB / 0.5353 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.01318, allocations: 8 kB / 0.5353 GB, free: 3.156 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.01319, allocations: 4.5 kB / 0.5353 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.0132, allocations: 7.984 kB / 0.5353 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.01327, allocations: 161.8 kB / 0.5355 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01327, allocations: 0.9375 kB / 0.5355 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002285/0.0135, allocations: 59.78 kB / 0.5355 GB, free: 2.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.023e-05/0.01359, allocations: 92.53 kB / 0.5356 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.01381, allocations: 237.3 kB / 0.5359 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01381, allocations: 0 / 0.5359 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.01391, allocations: 199.2 kB / 0.536 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01414, allocations: 31.81 kB / 0.5361 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.01474, allocations: 345.9 kB / 0.5364 GB, free: 1.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.008e-05/0.01479, allocations: 95.81 kB / 0.5365 GB, free: 1.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.088e-05/0.01484, allocations: 16.95 kB / 0.5365 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.01492, allocations: 94.19 kB / 0.5366 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01492, allocations: 0 / 0.5366 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of Templates: time 0.003479/0.0184, allocations: 1.82 MB / 0.5384 GB, free: 48 kB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.860935967415571]