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.001259/0.001259, allocations: 115.5 kB / 17.08 MB, free: 6.008 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.001552/0.001552, allocations: 195 kB / 18.02 MB, free: 5.094 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.243/1.243, allocations: 222.9 MB / 241.7 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.6848/0.6848, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.06 kB / 0.5583 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003734/0.1242, allocations: 2.629 MB / 0.6353 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1261, allocations: 1.309 MB / 0.6366 GB, free: 472 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.1261, allocations: 7.938 kB / 0.6366 GB, free: 464 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.1268, allocations: 175.3 kB / 0.6368 GB, free: 288 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1271, allocations: 175.2 kB / 0.6369 GB, free: 112 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1274, allocations: 159.6 kB / 0.6371 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.1277, allocations: 263.2 kB / 0.6373 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002809/0.128, allocations: 137.5 kB / 0.6375 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1282, allocations: 111.6 kB / 0.6376 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1284, allocations: 127.5 kB / 0.6377 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.1284, allocations: 16 kB / 0.6377 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.1286, allocations: 147.7 kB / 0.6378 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.1287, allocations: 71.78 kB / 0.6379 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.1288, allocations: 87.55 kB / 0.638 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.1291, allocations: 299 kB / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1291, allocations: 0 / 0.6383 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1291, allocations: 4 kB / 0.6383 GB, free: 14.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1292, allocations: 0 / 0.6383 GB, free: 14.71 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.0007006/0.1299, allocations: 0.4911 MB / 0.6388 GB, free: 14.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1299, allocations: 8.031 kB / 0.6388 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004778/0.1304, allocations: 68.67 kB / 0.6388 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1307, allocations: 240.5 kB / 0.6391 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1307, allocations: 8.641 kB / 0.6391 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.1307, allocations: 16.38 kB / 0.6391 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.1312, allocations: 316.6 kB / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1312, allocations: 0 / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1312, allocations: 4 kB / 0.6394 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.1313, allocations: 28.27 kB / 0.6394 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.1318, allocations: 272.5 kB / 0.6397 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1333, allocations: 1.498 MB / 0.6411 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.1338, allocations: 245.1 kB / 0.6414 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.134, allocations: 137.6 kB / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.134, allocations: 4 kB / 0.6415 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.134, allocations: 30.56 kB / 0.6415 GB, free: 11.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.574e-06/0.134, allocations: 0 / 0.6415 GB, free: 11.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007044/0.1348, allocations: 351.4 kB / 0.6419 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.1348, allocations: 81.11 kB / 0.642 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.135, allocations: 179.4 kB / 0.6421 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.135, allocations: 29.7 kB / 0.6421 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1351, allocations: 136.1 kB / 0.6423 GB, free: 10.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.1351, allocations: 59.19 kB / 0.6423 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.1352, allocations: 45.7 kB / 0.6424 GB, free: 10.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.1353, allocations: 330.8 kB / 0.6427 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1355, allocations: 112.6 kB / 0.6428 GB, free: 9.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.1358, allocations: 164.6 kB / 0.643 GB, free: 9.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1362, allocations: 274.7 kB / 0.6432 GB, free: 9.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1362, allocations: 0 / 0.6432 GB, free: 9.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005078/0.1367, allocations: 311.5 kB / 0.6435 GB, free: 8.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1367, allocations: 13.81 kB / 0.6435 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1367, allocations: 4 kB / 0.6435 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1368, allocations: 8.219 kB / 0.6435 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.137, allocations: 63.88 kB / 0.6436 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1371, allocations: 4 kB / 0.6436 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1372, allocations: 27.81 kB / 0.6436 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1373, allocations: 12 kB / 0.6436 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002395/0.1375, allocations: 196 kB / 0.6438 GB, free: 8.605 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002002/0.1377, allocations: 159.1 kB / 0.644 GB, free: 8.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003688/0.1381, allocations: 247.5 kB / 0.6442 GB, free: 8.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.1381, allocations: 0 / 0.6442 GB, free: 8.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004609/0.1386, allocations: 279.8 kB / 0.6445 GB, free: 7.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.1386, allocations: 4 kB / 0.6445 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1386, allocations: 4 kB / 0.6445 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.1386, allocations: 7.984 kB / 0.6445 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1388, allocations: 47.97 kB / 0.6445 GB, free: 7.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1388, allocations: 7.938 kB / 0.6446 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.139, allocations: 32.06 kB / 0.6446 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.139, allocations: 12 kB / 0.6446 GB, free: 7.762 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.0001008/0.1391, allocations: 188.1 kB / 0.6448 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1392, allocations: 15.81 kB / 0.6448 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.1397, allocations: 271 kB / 0.6451 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1397, allocations: 4 kB / 0.6451 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1397, allocations: 3.938 kB / 0.6451 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1397, allocations: 0 / 0.6451 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.1407, allocations: 0.681 MB / 0.6457 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1407, allocations: 4 kB / 0.6457 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.1409, allocations: 43.89 kB / 0.6458 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1409, allocations: 4.125 kB / 0.6458 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1409, allocations: 11.94 kB / 0.6458 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1409, allocations: 0 / 0.6458 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1409, allocations: 4 kB / 0.6458 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005017/0.1415, allocations: 445.9 kB / 0.6462 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1416, allocations: 116.8 kB / 0.6463 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1416, allocations: 7.938 kB / 0.6463 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1418, allocations: 23.97 kB / 0.6464 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1419, allocations: 11.92 kB / 0.6464 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.1419, allocations: 8 kB / 0.6464 GB, free: 5.805 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.142, allocations: 135.2 kB / 0.6465 GB, free: 5.672 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 0 / 0.6465 GB, free: 5.672 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.1424, allocations: 79.84 kB / 0.6466 GB, free: 5.594 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.000102/0.1425, allocations: 111.1 kB / 0.6467 GB, free: 5.477 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.1432, allocations: 374.4 kB / 0.647 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1432, allocations: 0 / 0.647 GB, free: 5.113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.1434, allocations: 119.8 kB / 0.6472 GB, free: 4.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.1439, allocations: 50.25 kB / 0.6472 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000695/0.1446, allocations: 468.8 kB / 0.6477 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1449, allocations: 0.7441 MB / 0.6484 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.145, allocations: 27.42 kB / 0.6484 GB, free: 3.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.145, allocations: 0 / 0.6484 GB, free: 3.645 MB / 494.1 MB Notification: Performance of Templates: time 0.00372/0.1487, allocations: 2.582 MB / 0.6509 GB, free: 1.07 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)