Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med",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.004555/0.004555, allocations: 101.8 kB / 15.88 MB, free: 6.312 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.001183/0.001183, allocations: 195.4 kB / 16.79 MB, free: 6.242 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.224/1.224, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6383/0.6383, allocations: 115.3 MB / 406 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.23 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002364/0.1213, allocations: 1.464 MB / 0.5573 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1241, allocations: 2.643 MB / 0.5599 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.1241, allocations: 0 / 0.5599 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.1255, allocations: 0.5482 MB / 0.5604 GB, free: 6.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.1255, allocations: 15.91 kB / 0.5604 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.1255, allocations: 0 / 0.5604 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1258, allocations: 178.9 kB / 0.5606 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.1258, allocations: 40.41 kB / 0.5606 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/0.1259, allocations: 55.67 kB / 0.5607 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.126, allocations: 79.58 kB / 0.5607 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.126, allocations: 4 kB / 0.5608 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.127, allocations: 491.2 kB / 0.5612 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1271, allocations: 31.84 kB / 0.5612 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.768e-05/0.1272, allocations: 99.36 kB / 0.5613 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.1277, allocations: 406.3 kB / 0.5617 GB, free: 4.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1277, allocations: 0 / 0.5617 GB, free: 4.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1277, allocations: 0 / 0.5617 GB, free: 4.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1277, allocations: 0 / 0.5617 GB, free: 4.652 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006406/0.1284, allocations: 0.5374 MB / 0.5623 GB, free: 4.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1284, allocations: 8.031 kB / 0.5623 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1285, allocations: 117.8 kB / 0.5624 GB, free: 3.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1286, allocations: 111.8 kB / 0.5625 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1288, allocations: 302.4 kB / 0.5628 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.1289, allocations: 154.9 kB / 0.5629 GB, free: 3.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.1289, allocations: 154.9 kB / 0.5631 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.556e-05/0.129, allocations: 101.5 kB / 0.5632 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.129, allocations: 79.22 kB / 0.5632 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1291, allocations: 154.6 kB / 0.5634 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.1291, allocations: 150.6 kB / 0.5635 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.1292, allocations: 158.5 kB / 0.5637 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1295, allocations: 0.5289 MB / 0.5642 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.1296, allocations: 173.1 kB / 0.5644 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.1296, allocations: 84.14 kB / 0.5644 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1296, allocations: 75.28 kB / 0.5645 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1297, allocations: 113.8 kB / 0.5646 GB, free: 1.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1297, allocations: 0 / 0.5646 GB, free: 1.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001534/0.1298, allocations: 53.36 kB / 0.5647 GB, free: 1.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1299, allocations: 130.7 kB / 0.5648 GB, free: 1.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.1303, allocations: 433.2 kB / 0.5652 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1303, allocations: 25.7 kB / 0.5652 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.1304, allocations: 128.5 kB / 0.5654 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.1304, allocations: 0 / 0.5654 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.1305, allocations: 97.66 kB / 0.5655 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1306, allocations: 334.8 kB / 0.5658 GB, free: 288 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1307, allocations: 104.5 kB / 0.5659 GB, free: 184 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1309, allocations: 169.3 kB / 0.566 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.1311, allocations: 309.6 kB / 0.5663 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1311, allocations: 0 / 0.5663 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000444/0.1316, allocations: 328.9 kB / 0.5666 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1316, allocations: 16.03 kB / 0.5667 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1316, allocations: 0 / 0.5667 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1316, allocations: 7.984 kB / 0.5667 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.535e-06/0.1316, allocations: 3.984 kB / 0.5667 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1317, allocations: 4 kB / 0.5667 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1318, allocations: 43.38 kB / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1318, allocations: 4 kB / 0.5667 GB, free: 15.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001864/0.132, allocations: 258.1 kB / 0.567 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.1321, allocations: 120.6 kB / 0.5671 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.1321, allocations: 115 kB / 0.5672 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-05/0.1322, allocations: 180.2 kB / 0.5674 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/0.1322, allocations: 184.3 kB / 0.5675 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.486e-05/0.1323, allocations: 184.2 kB / 0.5677 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.1326, allocations: 473.2 kB / 0.5682 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.1326, allocations: 105 kB / 0.5683 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.1326, allocations: 108.9 kB / 0.5684 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.582e-05/0.1327, allocations: 184.2 kB / 0.5685 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.1328, allocations: 180.2 kB / 0.5687 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.085e-05/0.1328, allocations: 176.3 kB / 0.5689 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.951e-05/0.1329, allocations: 180.3 kB / 0.5691 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.133, allocations: 335.4 kB / 0.5694 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.1331, allocations: 202 kB / 0.5696 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.1332, allocations: 184.2 kB / 0.5697 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.1333, allocations: 105 kB / 0.5698 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.1334, allocations: 188.2 kB / 0.57 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.1334, allocations: 105 kB / 0.5701 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002358/0.1336, allocations: 275.1 kB / 0.5704 GB, free: 11.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1336, allocations: 0 / 0.5704 GB, free: 11.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.134, allocations: 79.98 kB / 0.5705 GB, free: 11.2 MB / 446.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 (0): * Single equations (assignments): 0 * 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.0005253/0.1345, allocations: 0.9595 MB / 0.5714 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1347, allocations: 159.9 kB / 0.5716 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1347, allocations: 0 / 0.5716 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.1347, allocations: 0 / 0.5716 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1351, allocations: 0.5339 MB / 0.5721 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.1378, allocations: 2.937 MB / 0.5749 GB, free: 6.469 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.138, allocations: 0.7746 MB / 0.5757 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.188e-05/0.1381, allocations: 0 / 0.5757 GB, free: 5.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1381, allocations: 55.41 kB / 0.5758 GB, free: 5.613 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1381, allocations: 0 / 0.5758 GB, free: 5.613 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.24/0.3782, allocations: 6.003 MB / 0.5816 GB, free: 31.71 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.3784, allocations: 225.9 kB / 0.5818 GB, free: 31.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.984, allocations: 0 / 0.5818 GB, free: 31.46 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)