Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.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_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low",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.0007194/0.0007194, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007696/0.0007696, allocations: 173.6 kB / 16.58 MB, free: 6.797 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: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6158/0.6158, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 11.98 kB / 493.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001271/0.1285, allocations: 1.102 MB / 0.558 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1302, allocations: 1.757 MB / 0.5597 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.1302, allocations: 0 / 0.5597 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.1309, allocations: 344 kB / 0.56 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/0.131, allocations: 19.84 kB / 0.56 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.555e-06/0.131, allocations: 0 / 0.56 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1312, allocations: 127.2 kB / 0.5602 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.1312, allocations: 21.48 kB / 0.5602 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.1313, allocations: 39.86 kB / 0.5602 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.1314, allocations: 67.72 kB / 0.5603 GB, free: 8.164 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1314, allocations: 3.938 kB / 0.5603 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1318, allocations: 179.9 kB / 0.5605 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1318, allocations: 35.89 kB / 0.5605 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.1319, allocations: 53.64 kB / 0.5605 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1321, allocations: 203.5 kB / 0.5607 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1321, allocations: 0 / 0.5607 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1321, allocations: 3.938 kB / 0.5607 GB, free: 7.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1321, allocations: 0 / 0.5607 GB, free: 7.688 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.0005435/0.1327, allocations: 482.4 kB / 0.5612 GB, free: 7.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1327, allocations: 12.03 kB / 0.5612 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.1328, allocations: 105.8 kB / 0.5613 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.1329, allocations: 91.09 kB / 0.5614 GB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1331, allocations: 290.1 kB / 0.5617 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.1332, allocations: 154.6 kB / 0.5618 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.1332, allocations: 154.6 kB / 0.562 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.351e-05/0.1333, allocations: 112.9 kB / 0.5621 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1333, allocations: 75.28 kB / 0.5622 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1333, allocations: 150.6 kB / 0.5623 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.1334, allocations: 150.6 kB / 0.5624 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.1334, allocations: 150.6 kB / 0.5626 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1338, allocations: 0.5094 MB / 0.5631 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.918e-05/0.1339, allocations: 173.1 kB / 0.5632 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.1339, allocations: 80.14 kB / 0.5633 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1339, allocations: 79.28 kB / 0.5634 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.134, allocations: 109.8 kB / 0.5635 GB, free: 4.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.134, allocations: 0 / 0.5635 GB, free: 4.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001653/0.1342, allocations: 57.36 kB / 0.5636 GB, free: 4.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1342, allocations: 130.6 kB / 0.5637 GB, free: 4.473 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.1346, allocations: 310.4 kB / 0.564 GB, free: 4.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1346, allocations: 29.7 kB / 0.564 GB, free: 4.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1347, allocations: 112.4 kB / 0.5641 GB, free: 4.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.947e-06/0.1347, allocations: 0 / 0.5641 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.1347, allocations: 11.94 kB / 0.5641 GB, free: 4.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1348, allocations: 334.8 kB / 0.5644 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.1349, allocations: 59.95 kB / 0.5645 GB, free: 3.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.135, allocations: 126.2 kB / 0.5646 GB, free: 3.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1351, allocations: 79.91 kB / 0.5647 GB, free: 3.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1352, allocations: 4 kB / 0.5647 GB, free: 3.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003957/0.1356, allocations: 229.3 kB / 0.5649 GB, free: 3.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1356, allocations: 4 kB / 0.5649 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1356, allocations: 0 / 0.5649 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1356, allocations: 7.953 kB / 0.5649 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-06/0.1356, allocations: 4 kB / 0.5649 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1356, allocations: 0 / 0.5649 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1357, allocations: 31.59 kB / 0.565 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1358, allocations: 4 kB / 0.565 GB, free: 3.102 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.1359, allocations: 233.2 kB / 0.5652 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.136, allocations: 120.7 kB / 0.5653 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.1361, allocations: 121.7 kB / 0.5654 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-05/0.1361, allocations: 176.3 kB / 0.5656 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.539e-05/0.1362, allocations: 184.3 kB / 0.5658 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/0.1363, allocations: 188.2 kB / 0.5659 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1365, allocations: 453.2 kB / 0.5664 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/0.1365, allocations: 104.9 kB / 0.5665 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.1366, allocations: 109.1 kB / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.757e-05/0.1366, allocations: 184.3 kB / 0.5668 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-05/0.1367, allocations: 180.2 kB / 0.5669 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.974e-05/0.1368, allocations: 184.3 kB / 0.5671 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.095e-05/0.1368, allocations: 184.2 kB / 0.5673 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.137, allocations: 319.5 kB / 0.5676 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.1371, allocations: 193.9 kB / 0.5678 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.1372, allocations: 184.3 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1373, allocations: 108.9 kB / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1373, allocations: 176.3 kB / 0.5682 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1374, allocations: 108.9 kB / 0.5683 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1376, allocations: 213.9 kB / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1376, allocations: 0 / 0.5685 GB, free: 15.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1379, allocations: 67.98 kB / 0.5686 GB, free: 15.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005116/0.1384, allocations: 0.9177 MB / 0.5695 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1386, allocations: 99.89 kB / 0.5696 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1386, allocations: 0 / 0.5696 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.1386, allocations: 4 kB / 0.5696 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1389, allocations: 0.5273 MB / 0.5701 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1403, allocations: 1.185 MB / 0.5713 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1406, allocations: 0.7394 MB / 0.572 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.273e-05/0.1406, allocations: 4 kB / 0.572 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.1406, allocations: 35.42 kB / 0.572 GB, free: 11.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1406, allocations: 4.188 kB / 0.572 GB, free: 11.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.154, allocations: 4.472 MB / 0.5764 GB, free: 7.254 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.1542, allocations: 205.7 kB / 0.5766 GB, free: 7.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.724, allocations: 1.047 kB / 0.5766 GB, free: 7.012 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > IBPSA_latest_IBPSA.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) Environment - environmentSimulation: