Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="BuildingSystems_BuildingSystems_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.001364/0.001364, allocations: 108 kB / 15.61 MB, free: 152 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.001537/0.001537, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 282.8 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9183/0.9183, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 95.44 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1418, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002485/0.1443, allocations: 1.395 MB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.1465, allocations: 1.935 MB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.1466, allocations: 0 / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1477, allocations: 385.9 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.912e-05/0.1477, allocations: 23.91 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.1477, allocations: 0 / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.148, allocations: 123.1 kB / 0.684 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.148, allocations: 25.47 kB / 0.6841 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.1481, allocations: 39.88 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1482, allocations: 63.7 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1482, allocations: 4 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.1487, allocations: 183.9 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1488, allocations: 31.84 kB / 0.6844 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.1489, allocations: 71.55 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.1493, allocations: 283.1 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1493, allocations: 4 kB / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1493, allocations: 0 / 0.6847 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1493, allocations: 0 / 0.6847 GB, free: 12.04 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.0006388/0.15, allocations: 0.4908 MB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.15, allocations: 8.031 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1501, allocations: 106 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.1502, allocations: 104 kB / 0.6854 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1504, allocations: 283.4 kB / 0.6857 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.1505, allocations: 150.9 kB / 0.6858 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.1505, allocations: 158.9 kB / 0.686 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.797e-05/0.1506, allocations: 112.9 kB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.1506, allocations: 75.28 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/0.1507, allocations: 150.6 kB / 0.6863 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.1507, allocations: 154.5 kB / 0.6864 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.689e-05/0.1508, allocations: 158.5 kB / 0.6866 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.1511, allocations: 0.5055 MB / 0.6871 GB, free: 9.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.462e-05/0.1512, allocations: 169.1 kB / 0.6872 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.1512, allocations: 84.12 kB / 0.6873 GB, free: 9.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1512, allocations: 79.22 kB / 0.6874 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1513, allocations: 109.8 kB / 0.6875 GB, free: 9.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1513, allocations: 0 / 0.6875 GB, free: 9.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001629/0.1515, allocations: 57.44 kB / 0.6876 GB, free: 8.941 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.1515, allocations: 126.7 kB / 0.6877 GB, free: 8.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1518, allocations: 318.3 kB / 0.688 GB, free: 8.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1518, allocations: 25.7 kB / 0.688 GB, free: 8.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1519, allocations: 116.5 kB / 0.6881 GB, free: 8.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-06/0.1519, allocations: 0 / 0.6881 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.152, allocations: 69.67 kB / 0.6882 GB, free: 8.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.1521, allocations: 330.8 kB / 0.6885 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.1522, allocations: 59.95 kB / 0.6886 GB, free: 7.871 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1523, allocations: 121.9 kB / 0.6887 GB, free: 7.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1525, allocations: 209.9 kB / 0.6889 GB, free: 7.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1525, allocations: 4 kB / 0.6889 GB, free: 7.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003896/0.1529, allocations: 237.1 kB / 0.6891 GB, free: 7.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1529, allocations: 7.938 kB / 0.6891 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1529, allocations: 4 kB / 0.6891 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1529, allocations: 0 / 0.6891 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.153, allocations: 4 kB / 0.6891 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.153, allocations: 4 kB / 0.6891 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1531, allocations: 27.84 kB / 0.6892 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1531, allocations: 11.94 kB / 0.6892 GB, free: 7.203 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.0001731/0.1533, allocations: 222.4 kB / 0.6894 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1533, allocations: 128.6 kB / 0.6895 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1534, allocations: 117.8 kB / 0.6896 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.668e-05/0.1535, allocations: 180.2 kB / 0.6898 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.035e-05/0.1535, allocations: 184.2 kB / 0.69 GB, free: 6.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/0.1536, allocations: 180.3 kB / 0.6901 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1538, allocations: 453.1 kB / 0.6906 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/0.1538, allocations: 104.9 kB / 0.6907 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.1539, allocations: 108.9 kB / 0.6908 GB, free: 5.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/0.1539, allocations: 176.3 kB / 0.6909 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.154, allocations: 188.3 kB / 0.6911 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/0.154, allocations: 180.2 kB / 0.6913 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.854e-05/0.1541, allocations: 176.3 kB / 0.6915 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.1542, allocations: 319.6 kB / 0.6918 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1543, allocations: 201.8 kB / 0.692 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.1544, allocations: 188.2 kB / 0.6921 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1545, allocations: 101 kB / 0.6922 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1546, allocations: 184.5 kB / 0.6924 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.1546, allocations: 101 kB / 0.6925 GB, free: 3.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1548, allocations: 217.9 kB / 0.6927 GB, free: 3.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 4 kB / 0.6927 GB, free: 3.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1552, allocations: 60 kB / 0.6928 GB, free: 3.285 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.0005535/0.1557, allocations: 0.9294 MB / 0.6937 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1559, allocations: 99.89 kB / 0.6938 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1559, allocations: 4 kB / 0.6938 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.1559, allocations: 448 / 0.6938 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.1563, allocations: 460.2 kB / 0.6942 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1584, allocations: 2.432 MB / 0.6966 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.1587, allocations: 0.7431 MB / 0.6973 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.379e-05/0.1587, allocations: 4 kB / 0.6973 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.1587, allocations: 35.36 kB / 0.6974 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1587, allocations: 0 / 0.6974 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.179/1.338, allocations: 4.815 MB / 0.7021 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/10.42, allocations: 12.81 kB / 0.7021 GB, free: 9.734 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)