Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 106 kB / 16.4 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 193.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 70.28 kB / 0.5577 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 76.18 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004254/0.1423, allocations: 3.046 MB / 0.635 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1443, allocations: 1.328 MB / 0.6363 GB, free: 128 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1444, allocations: 11.94 kB / 0.6363 GB, free: 116 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.1454, allocations: 342.7 kB / 0.6367 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.1457, allocations: 135.3 kB / 0.6368 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1461, allocations: 147.6 kB / 0.6369 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1464, allocations: 303 kB / 0.6372 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.1469, allocations: 228.2 kB / 0.6374 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.147, allocations: 131.5 kB / 0.6376 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.1473, allocations: 131.5 kB / 0.6377 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1473, allocations: 20 kB / 0.6377 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.1476, allocations: 171.6 kB / 0.6379 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.1477, allocations: 83.78 kB / 0.638 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1478, allocations: 107.5 kB / 0.6381 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.1482, allocations: 343 kB / 0.6384 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1482, allocations: 3.938 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1482, allocations: 0 / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1482, allocations: 0 / 0.6384 GB, free: 14 MB / 494.1 MB 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.0007135/0.149, allocations: 0.503 MB / 0.6389 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.149, allocations: 8.031 kB / 0.6389 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.1496, allocations: 88.52 kB / 0.639 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1499, allocations: 247.9 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1499, allocations: 16.73 kB / 0.6392 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1499, allocations: 16.38 kB / 0.6392 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.1504, allocations: 311.2 kB / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1504, allocations: 0 / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1504, allocations: 8 kB / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.1505, allocations: 20.36 kB / 0.6396 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1508, allocations: 196.9 kB / 0.6398 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.1521, allocations: 1.452 MB / 0.6412 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.1524, allocations: 179.7 kB / 0.6413 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.1525, allocations: 32.84 kB / 0.6414 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.1525, allocations: 0 / 0.6414 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1525, allocations: 34.72 kB / 0.6414 GB, free: 10.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1525, allocations: 0 / 0.6414 GB, free: 10.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000445/0.153, allocations: 235.3 kB / 0.6416 GB, free: 10.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.153, allocations: 51.41 kB / 0.6417 GB, free: 10.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1532, allocations: 199.4 kB / 0.6419 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1532, allocations: 29.7 kB / 0.6419 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1533, allocations: 163.6 kB / 0.6421 GB, free: 9.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1533, allocations: 23.66 kB / 0.6421 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.1534, allocations: 37.7 kB / 0.6421 GB, free: 9.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1535, allocations: 326.8 kB / 0.6424 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.1536, allocations: 35.98 kB / 0.6425 GB, free: 9.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1537, allocations: 106.1 kB / 0.6426 GB, free: 9.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1539, allocations: 148.4 kB / 0.6427 GB, free: 9.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1539, allocations: 8.062 kB / 0.6427 GB, free: 9.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002874/0.1542, allocations: 186.1 kB / 0.6429 GB, free: 8.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1542, allocations: 8 kB / 0.6429 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1542, allocations: 0 / 0.6429 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001476/0.1543, allocations: 33.06 kB / 0.6429 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1545, allocations: 31.92 kB / 0.643 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009561/0.1554, allocations: 1.418 MB / 0.6443 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.1556, allocations: 19.88 kB / 0.6444 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1556, allocations: 4 kB / 0.6444 GB, free: 7.281 MB / 494.1 MB 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 0.0001235/0.1557, allocations: 153.6 kB / 0.6445 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1557, allocations: 15.81 kB / 0.6445 GB, free: 7.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1558, allocations: 17.41 kB / 0.6445 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1558, allocations: 4.062 kB / 0.6445 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1558, allocations: 4 kB / 0.6446 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1558, allocations: 0 / 0.6446 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.1563, allocations: 443.2 kB / 0.645 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1563, allocations: 0 / 0.645 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.1563, allocations: 11.94 kB / 0.645 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-05/0.1564, allocations: 20.84 kB / 0.645 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1564, allocations: 7.984 kB / 0.645 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008751/0.1573, allocations: 1.418 MB / 0.6464 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1573, allocations: 0 / 0.6464 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1575, allocations: 216.5 kB / 0.6466 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.1576, allocations: 100.9 kB / 0.6467 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1576, allocations: 0 / 0.6467 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.1578, allocations: 4 kB / 0.6467 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1578, allocations: 15.97 kB / 0.6467 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1578, allocations: 8 kB / 0.6467 GB, free: 4.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1579, allocations: 140.4 kB / 0.6469 GB, free: 4.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1579, allocations: 0 / 0.6469 GB, free: 4.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1582, allocations: 51.84 kB / 0.6469 GB, free: 4.426 MB / 494.1 MB 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.894e-05/0.1583, allocations: 99.25 kB / 0.647 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1587, allocations: 218.6 kB / 0.6472 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1587, allocations: 0 / 0.6472 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1588, allocations: 142.7 kB / 0.6474 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1592, allocations: 39.03 kB / 0.6474 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.1598, allocations: 354.9 kB / 0.6477 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1601, allocations: 0.7514 MB / 0.6485 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.1601, allocations: 25.53 kB / 0.6485 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1602, allocations: 11.44 kB / 0.6485 GB, free: 2.723 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1602, allocations: 0 / 0.6485 GB, free: 2.723 MB / 494.1 MB Notification: Performance of Templates: time 0.004331/0.1645, allocations: 1.768 MB / 0.6502 GB, free: 0.9766 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)