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.001004/0.001004, allocations: 101.7 kB / 16.4 MB, free: 6.457 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.001032/0.001032, allocations: 196 kB / 17.34 MB, free: 5.719 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6608/0.6608, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 70.89 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1208, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002212/0.1231, allocations: 1.395 MB / 0.6329 GB, free: 3.504 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.126, allocations: 2.666 MB / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.126, allocations: 0 / 0.6355 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.1275, allocations: 0.5846 MB / 0.6361 GB, free: 252 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.1276, allocations: 15.91 kB / 0.6361 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-06/0.1276, allocations: 4 kB / 0.6361 GB, free: 232 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.1278, allocations: 155 kB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.951e-05/0.1279, allocations: 32.62 kB / 0.6363 GB, free: 40 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.128, allocations: 71.64 kB / 0.6364 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1281, allocations: 83.58 kB / 0.6365 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1281, allocations: 7.938 kB / 0.6365 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1291, allocations: 463.3 kB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1292, allocations: 35.83 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.1293, allocations: 99.36 kB / 0.637 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.1299, allocations: 442.3 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1299, allocations: 0 / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1299, allocations: 0 / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1299, allocations: 0 / 0.6375 GB, free: 14.86 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006854/0.1306, allocations: 0.5529 MB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1307, allocations: 8.031 kB / 0.638 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1307, allocations: 106 kB / 0.6381 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.1309, allocations: 107.8 kB / 0.6382 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1311, allocations: 306.3 kB / 0.6385 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.1312, allocations: 154.9 kB / 0.6386 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.1312, allocations: 162.9 kB / 0.6388 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.613e-05/0.1313, allocations: 105.5 kB / 0.6389 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.1313, allocations: 79.22 kB / 0.639 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.1314, allocations: 150.6 kB / 0.6391 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.644e-05/0.1314, allocations: 150.6 kB / 0.6393 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.1315, allocations: 150.6 kB / 0.6394 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.1318, allocations: 0.5367 MB / 0.6399 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.1319, allocations: 169.1 kB / 0.6401 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.1319, allocations: 80.14 kB / 0.6402 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.132, allocations: 75.28 kB / 0.6402 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.132, allocations: 117.8 kB / 0.6404 GB, free: 11.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.132, allocations: 0 / 0.6404 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001644/0.1322, allocations: 61.3 kB / 0.6404 GB, free: 11.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1322, allocations: 126.7 kB / 0.6405 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.1326, allocations: 433.2 kB / 0.641 GB, free: 11.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1326, allocations: 25.7 kB / 0.641 GB, free: 11.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.1327, allocations: 128.5 kB / 0.6411 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-06/0.1327, allocations: 0 / 0.6411 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.1328, allocations: 97.66 kB / 0.6412 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1329, allocations: 338.8 kB / 0.6415 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1331, allocations: 100.5 kB / 0.6416 GB, free: 10.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1332, allocations: 161.3 kB / 0.6418 GB, free: 10.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1335, allocations: 309.6 kB / 0.6421 GB, free: 9.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1335, allocations: 0 / 0.6421 GB, free: 9.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000454/0.1339, allocations: 332.9 kB / 0.6424 GB, free: 9.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.134, allocations: 7.938 kB / 0.6424 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.134, allocations: 4 kB / 0.6424 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.134, allocations: 0 / 0.6424 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-06/0.134, allocations: 11.92 kB / 0.6424 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.134, allocations: 3.984 kB / 0.6424 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1341, allocations: 47.38 kB / 0.6424 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1342, allocations: 12.22 kB / 0.6425 GB, free: 9.438 MB / 494.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.0001908/0.1344, allocations: 233.1 kB / 0.6427 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.1344, allocations: 136.5 kB / 0.6428 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1345, allocations: 115 kB / 0.6429 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.1345, allocations: 176.3 kB / 0.6431 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.1346, allocations: 188.2 kB / 0.6433 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.052e-05/0.1347, allocations: 176.3 kB / 0.6434 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1349, allocations: 477.1 kB / 0.6439 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-05/0.135, allocations: 101 kB / 0.644 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.135, allocations: 101 kB / 0.6441 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.692e-05/0.1351, allocations: 196.2 kB / 0.6443 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.1351, allocations: 184.3 kB / 0.6444 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-05/0.1352, allocations: 180.4 kB / 0.6446 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.1353, allocations: 176.3 kB / 0.6448 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.1354, allocations: 335.4 kB / 0.6451 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.1355, allocations: 197.8 kB / 0.6453 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.1356, allocations: 188.1 kB / 0.6455 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1357, allocations: 108.9 kB / 0.6456 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.1358, allocations: 180.2 kB / 0.6458 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.1358, allocations: 105 kB / 0.6459 GB, free: 5.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.1361, allocations: 279.1 kB / 0.6461 GB, free: 5.469 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 4 kB / 0.6461 GB, free: 5.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.1364, allocations: 80 kB / 0.6462 GB, free: 5.387 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 (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.0005723/0.137, allocations: 0.9566 MB / 0.6471 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1372, allocations: 160.2 kB / 0.6473 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1372, allocations: 4.062 kB / 0.6473 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1373, allocations: 0 / 0.6473 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1376, allocations: 466.5 kB / 0.6477 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.1401, allocations: 2.941 MB / 0.6506 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1404, allocations: 0.7782 MB / 0.6514 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.1405, allocations: 0 / 0.6514 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1405, allocations: 55.42 kB / 0.6514 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.1406, allocations: 3.938 kB / 0.6514 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.1637, allocations: 6.446 MB / 0.6577 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.601, allocations: 16.5 kB / 0.6577 GB, free: 9.539 MB / 0.4981 GB (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)