Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.001319/0.00132, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6618/0.6618, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 63.5 kB / 0.5577 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1315, allocations: 76.17 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003799/0.1353, allocations: 2.63 MB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1372, allocations: 1.309 MB / 0.6359 GB, free: 436 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1373, allocations: 7.938 kB / 0.6359 GB, free: 428 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.1379, allocations: 183.2 kB / 0.6361 GB, free: 244 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.1383, allocations: 167.3 kB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1387, allocations: 162 kB / 0.6364 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.139, allocations: 263.1 kB / 0.6367 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1393, allocations: 143.3 kB / 0.6368 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.1395, allocations: 107.6 kB / 0.6369 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1397, allocations: 123.5 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.1398, allocations: 16 kB / 0.637 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.14, allocations: 155.6 kB / 0.6372 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.1401, allocations: 59.88 kB / 0.6372 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.438e-05/0.1402, allocations: 95.52 kB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.1405, allocations: 291 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1405, allocations: 4 kB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1405, allocations: 0 / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1405, allocations: 7.938 kB / 0.6376 GB, free: 14.68 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007493/0.1413, allocations: 498.9 kB / 0.6381 GB, free: 14.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1413, allocations: 11.97 kB / 0.6381 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004728/0.1418, allocations: 64.67 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.1421, allocations: 250.6 kB / 0.6384 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1421, allocations: 8.656 kB / 0.6384 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.1422, allocations: 20.36 kB / 0.6384 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.1427, allocations: 308.6 kB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1427, allocations: 4 kB / 0.6387 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.1428, allocations: 7.984 kB / 0.6387 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.1428, allocations: 32.25 kB / 0.6388 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.1433, allocations: 260.5 kB / 0.639 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1449, allocations: 1.49 MB / 0.6405 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.1453, allocations: 257.1 kB / 0.6407 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1456, allocations: 133.6 kB / 0.6408 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1456, allocations: 7.984 kB / 0.6409 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1456, allocations: 38.5 kB / 0.6409 GB, free: 11.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.1456, allocations: 0 / 0.6409 GB, free: 11.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006939/0.1463, allocations: 341.2 kB / 0.6412 GB, free: 10.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1464, allocations: 81.11 kB / 0.6413 GB, free: 10.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1465, allocations: 179.4 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1466, allocations: 25.7 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.1467, allocations: 144.2 kB / 0.6416 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.1467, allocations: 55.2 kB / 0.6417 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.1468, allocations: 45.7 kB / 0.6417 GB, free: 10.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1469, allocations: 326.8 kB / 0.642 GB, free: 9.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1471, allocations: 108.7 kB / 0.6421 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.1474, allocations: 175.6 kB / 0.6423 GB, free: 9.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.1478, allocations: 270.7 kB / 0.6426 GB, free: 9.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1478, allocations: 0 / 0.6426 GB, free: 9.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005145/0.1483, allocations: 315.4 kB / 0.6429 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1483, allocations: 8 kB / 0.6429 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1484, allocations: 0 / 0.6429 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1484, allocations: 4 kB / 0.6429 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.1487, allocations: 59.89 kB / 0.6429 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1487, allocations: 4 kB / 0.6429 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.1489, allocations: 27.81 kB / 0.643 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.1489, allocations: 12 kB / 0.643 GB, free: 8.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002484/0.1491, allocations: 196.2 kB / 0.6432 GB, free: 8.578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000198/0.1493, allocations: 162.4 kB / 0.6433 GB, free: 8.391 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003733/0.1497, allocations: 251.5 kB / 0.6436 GB, free: 8.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.1497, allocations: 0 / 0.6436 GB, free: 8.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004506/0.1502, allocations: 279.8 kB / 0.6438 GB, free: 7.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.1502, allocations: 4 kB / 0.6438 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1502, allocations: 4 kB / 0.6438 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.1502, allocations: 4.25 kB / 0.6438 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1504, allocations: 51.97 kB / 0.6439 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1504, allocations: 11.92 kB / 0.6439 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.1506, allocations: 23.83 kB / 0.6439 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1506, allocations: 8 kB / 0.6439 GB, free: 7.734 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.1507, allocations: 188.2 kB / 0.6441 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.1508, allocations: 15.81 kB / 0.6441 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1513, allocations: 282.8 kB / 0.6444 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1513, allocations: 0 / 0.6444 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1513, allocations: 4 kB / 0.6444 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1513, allocations: 3.984 kB / 0.6444 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009404/0.1523, allocations: 0.681 MB / 0.6451 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1523, allocations: 4 kB / 0.6451 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1525, allocations: 43.89 kB / 0.6451 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1525, allocations: 4 kB / 0.6451 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1526, allocations: 7.938 kB / 0.6451 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1526, allocations: 7.984 kB / 0.6451 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1526, allocations: 4 kB / 0.6451 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004842/0.1531, allocations: 446 kB / 0.6456 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.1532, allocations: 112.8 kB / 0.6457 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1532, allocations: 11.88 kB / 0.6457 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1534, allocations: 27.97 kB / 0.6457 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.1535, allocations: 7.984 kB / 0.6457 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1535, allocations: 8 kB / 0.6457 GB, free: 5.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.907e-05/0.1536, allocations: 127.2 kB / 0.6458 GB, free: 5.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 4 kB / 0.6458 GB, free: 5.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004295/0.154, allocations: 79.84 kB / 0.6459 GB, free: 5.555 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001018/0.1541, allocations: 107.2 kB / 0.646 GB, free: 5.441 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.1548, allocations: 373.9 kB / 0.6464 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1548, allocations: 0 / 0.6464 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.155, allocations: 121 kB / 0.6465 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1555, allocations: 52.77 kB / 0.6465 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.1562, allocations: 434.3 kB / 0.647 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1565, allocations: 0.7441 MB / 0.6477 GB, free: 3.676 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.1566, allocations: 73.47 kB / 0.6478 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.17e-05/0.1567, allocations: 23.44 kB / 0.6478 GB, free: 3.578 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1567, allocations: 0 / 0.6478 GB, free: 3.578 MB / 494.1 MB Notification: Performance of Templates: time 0.004438/0.1612, allocations: 2.327 MB / 0.6501 GB, free: 1.262 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)