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.001209/0.001209, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001281/0.001281, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.271/1.271, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002103, allocations: 286.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9129/0.9129, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 96.7 kB / 0.5948 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1438, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00247/0.1463, allocations: 1.455 MB / 0.6812 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1483, allocations: 1.908 MB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.1483, allocations: 4 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008606/0.1492, allocations: 366.1 kB / 0.6834 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.1493, allocations: 23.91 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.1493, allocations: 4 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1495, allocations: 123.1 kB / 0.6835 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.1495, allocations: 17.5 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.1496, allocations: 39.86 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1497, allocations: 71.64 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1497, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1501, allocations: 176 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.1501, allocations: 35.83 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.072e-05/0.1502, allocations: 75.61 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1506, allocations: 291.1 kB / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1506, allocations: 0 / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1506, allocations: 0 / 0.6842 GB, free: 12.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1506, allocations: 4 kB / 0.6842 GB, free: 12.39 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.0005694/0.1512, allocations: 490.5 kB / 0.6847 GB, free: 11.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1512, allocations: 12.03 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.1513, allocations: 106 kB / 0.6848 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.1514, allocations: 96.03 kB / 0.6849 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1516, allocations: 299.3 kB / 0.6852 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/0.1517, allocations: 150.9 kB / 0.6853 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.1517, allocations: 162.8 kB / 0.6855 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.886e-05/0.1518, allocations: 104.9 kB / 0.6856 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1518, allocations: 75.28 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.1519, allocations: 154.6 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.1519, allocations: 150.6 kB / 0.6859 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.152, allocations: 154.6 kB / 0.6861 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1523, allocations: 0.5055 MB / 0.6866 GB, free: 9.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.397e-05/0.1523, allocations: 177.1 kB / 0.6867 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.1524, allocations: 80.14 kB / 0.6868 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.1524, allocations: 79.22 kB / 0.6869 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1524, allocations: 113.8 kB / 0.687 GB, free: 9.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1524, allocations: 0 / 0.687 GB, free: 9.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001581/0.1526, allocations: 49.45 kB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1527, allocations: 134.7 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.1529, allocations: 322.3 kB / 0.6875 GB, free: 8.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.153, allocations: 29.64 kB / 0.6875 GB, free: 8.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.153, allocations: 112.5 kB / 0.6876 GB, free: 8.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.153, allocations: 0 / 0.6876 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.1531, allocations: 69.67 kB / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1532, allocations: 322.8 kB / 0.688 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1533, allocations: 71.95 kB / 0.6881 GB, free: 8.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1534, allocations: 118 kB / 0.6882 GB, free: 8.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1536, allocations: 201.8 kB / 0.6884 GB, free: 7.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1536, allocations: 0 / 0.6884 GB, free: 7.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000378/0.154, allocations: 245.1 kB / 0.6886 GB, free: 7.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.154, allocations: 4 kB / 0.6886 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1541, allocations: 4 kB / 0.6886 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1541, allocations: 0 / 0.6886 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.1541, allocations: 4 kB / 0.6886 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1541, allocations: 3.938 kB / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1542, allocations: 31.62 kB / 0.6886 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1542, allocations: 4 kB / 0.6886 GB, free: 7.559 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.0001658/0.1544, allocations: 226.6 kB / 0.6889 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1545, allocations: 128.6 kB / 0.689 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.1545, allocations: 117.8 kB / 0.6891 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.1546, allocations: 176.3 kB / 0.6893 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-05/0.1546, allocations: 188.1 kB / 0.6894 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-05/0.1547, allocations: 176.3 kB / 0.6896 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1549, allocations: 453.2 kB / 0.69 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-05/0.155, allocations: 112.9 kB / 0.6901 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.155, allocations: 101 kB / 0.6902 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.203e-05/0.155, allocations: 184.2 kB / 0.6904 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.1551, allocations: 176.3 kB / 0.6906 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.436e-05/0.1552, allocations: 188.2 kB / 0.6908 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.933e-05/0.1552, allocations: 180.3 kB / 0.6909 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1553, allocations: 315.6 kB / 0.6912 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.1554, allocations: 205.8 kB / 0.6914 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.1555, allocations: 180.2 kB / 0.6916 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1556, allocations: 109 kB / 0.6917 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1557, allocations: 176.3 kB / 0.6919 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.1557, allocations: 108.9 kB / 0.692 GB, free: 3.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1559, allocations: 213.9 kB / 0.6922 GB, free: 3.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1559, allocations: 0 / 0.6922 GB, free: 3.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1562, allocations: 64 kB / 0.6922 GB, free: 3.641 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.0004967/0.1567, allocations: 0.9297 MB / 0.6932 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1569, allocations: 103.8 kB / 0.6933 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1569, allocations: 0 / 0.6933 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.1569, allocations: 4 kB / 0.6933 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1573, allocations: 460.7 kB / 0.6937 GB, free: 2.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1594, allocations: 2.441 MB / 0.6961 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1596, allocations: 0.7431 MB / 0.6968 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.48e-05/0.1597, allocations: 7.984 kB / 0.6968 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1597, allocations: 35.36 kB / 0.6968 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1597, allocations: 7.938 kB / 0.6969 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05761/0.2173, allocations: 4.724 MB / 0.7015 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.2175, allocations: 247.6 kB / 0.7017 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.079, allocations: 0 / 0.7017 GB, free: 9.945 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)