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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 209.8 kB / 16.79 MB, free: 6.84 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6121/0.6121, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 68.86 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 76.18 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00345/0.1168, allocations: 2.685 MB / 0.5585 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1185, allocations: 1.317 MB / 0.5598 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.1186, allocations: 3.938 kB / 0.5598 GB, free: 6.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.1191, allocations: 166.7 kB / 0.5599 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1194, allocations: 163.3 kB / 0.5601 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1197, allocations: 147.8 kB / 0.5602 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.12, allocations: 363 kB / 0.5606 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.1202, allocations: 145.4 kB / 0.5607 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1204, allocations: 95.62 kB / 0.5608 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1206, allocations: 123.6 kB / 0.5609 GB, free: 5.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1206, allocations: 8 kB / 0.5609 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1209, allocations: 191.6 kB / 0.5611 GB, free: 5.344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.1209, allocations: 63.8 kB / 0.5612 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.121, allocations: 87.53 kB / 0.5612 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1213, allocations: 303.2 kB / 0.5615 GB, free: 4.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1213, allocations: 0 / 0.5615 GB, free: 4.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1213, allocations: 0 / 0.5615 GB, free: 4.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1213, allocations: 0 / 0.5615 GB, free: 4.898 MB / 430.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.0006335/0.122, allocations: 499 kB / 0.562 GB, free: 4.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.122, allocations: 12.03 kB / 0.562 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1221, allocations: 54.72 kB / 0.5621 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.1225, allocations: 64.67 kB / 0.5621 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1228, allocations: 236 kB / 0.5624 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1228, allocations: 12.64 kB / 0.5624 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1228, allocations: 20.25 kB / 0.5624 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.1233, allocations: 316.3 kB / 0.5627 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1233, allocations: 3.938 kB / 0.5627 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.1233, allocations: 4 kB / 0.5627 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.1234, allocations: 28.25 kB / 0.5627 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.1238, allocations: 260.6 kB / 0.563 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1252, allocations: 1.502 MB / 0.5644 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.1256, allocations: 265 kB / 0.5647 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.1258, allocations: 125.6 kB / 0.5648 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1259, allocations: 4 kB / 0.5648 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.1259, allocations: 38.56 kB / 0.5649 GB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.1259, allocations: 0 / 0.5649 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006712/0.1266, allocations: 337.3 kB / 0.5652 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1266, allocations: 85.11 kB / 0.5653 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1267, allocations: 174.5 kB / 0.5654 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1268, allocations: 33.7 kB / 0.5655 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.1268, allocations: 136.1 kB / 0.5656 GB, free: 408 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.1269, allocations: 59.19 kB / 0.5656 GB, free: 348 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.127, allocations: 45.83 kB / 0.5657 GB, free: 296 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1271, allocations: 330.8 kB / 0.566 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.1273, allocations: 104.8 kB / 0.5661 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.1275, allocations: 164.3 kB / 0.5663 GB, free: 15.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.1279, allocations: 286.6 kB / 0.5665 GB, free: 15.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.128, allocations: 0 / 0.5665 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005036/0.1285, allocations: 306.7 kB / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1285, allocations: 8.219 kB / 0.5668 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.1285, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1285, allocations: 4 kB / 0.5668 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.1288, allocations: 55.95 kB / 0.5669 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1288, allocations: 7.922 kB / 0.5669 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.129, allocations: 31.83 kB / 0.5669 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.129, allocations: 11.92 kB / 0.5669 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002347/0.1292, allocations: 192.1 kB / 0.5671 GB, free: 14.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001935/0.1294, allocations: 158.6 kB / 0.5673 GB, free: 14.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003536/0.1298, allocations: 253.6 kB / 0.5675 GB, free: 14.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-06/0.1298, allocations: 0 / 0.5675 GB, free: 14.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004495/0.1303, allocations: 273.1 kB / 0.5678 GB, free: 14.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.662e-06/0.1303, allocations: 8 kB / 0.5678 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.1303, allocations: 3.938 kB / 0.5678 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.1303, allocations: 4 kB / 0.5678 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.1305, allocations: 59.89 kB / 0.5679 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.1305, allocations: 256 / 0.5679 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1307, allocations: 35.81 kB / 0.5679 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1307, allocations: 8 kB / 0.5679 GB, free: 13.89 MB / 446.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 9.43e-05/0.1308, allocations: 193.7 kB / 0.5681 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.1309, allocations: 15.81 kB / 0.5681 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.1313, allocations: 275.8 kB / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1314, allocations: 4 kB / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1314, allocations: 0 / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1314, allocations: 0 / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000901/0.1323, allocations: 0.6828 MB / 0.569 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1323, allocations: 3.938 kB / 0.569 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.1325, allocations: 48.08 kB / 0.5691 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1325, allocations: 7.938 kB / 0.5691 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1325, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1325, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1326, allocations: 3.984 kB / 0.5691 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.133, allocations: 455.5 kB / 0.5695 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.1331, allocations: 120.8 kB / 0.5696 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.1332, allocations: 11.94 kB / 0.5697 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1334, allocations: 11.98 kB / 0.5697 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.1334, allocations: 19.98 kB / 0.5697 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1334, allocations: 11.92 kB / 0.5697 GB, free: 11.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.567e-05/0.1335, allocations: 127.2 kB / 0.5698 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 0 / 0.5698 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000416/0.134, allocations: 79.84 kB / 0.5699 GB, free: 11.72 MB / 446.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.0006991/0.1347, allocations: 0.9841 MB / 0.5709 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.1353, allocations: 369 kB / 0.5712 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1353, allocations: 0 / 0.5712 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.1355, allocations: 116.9 kB / 0.5713 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1359, allocations: 40.09 kB / 0.5714 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1385, allocations: 2.499 MB / 0.5738 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1387, allocations: 0.7479 MB / 0.5745 GB, free: 6.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.1389, allocations: 73.48 kB / 0.5746 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.139, allocations: 51.41 kB / 0.5747 GB, free: 6.641 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.139, allocations: 0 / 0.5747 GB, free: 6.641 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3028/0.4418, allocations: 3.889 MB / 0.5785 GB, free: 2.898 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.4422, allocations: 209.7 kB / 0.5787 GB, free: 2.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.307, allocations: 4 kB / 0.5787 GB, free: 2.645 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)