Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001701/0.001701, allocations: 192 kB / 16.14 MB, free: 6.707 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.287/1.287, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 287.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 94.98 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002367/0.1464, allocations: 1.463 MB / 0.6809 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.1493, allocations: 2.646 MB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.1493, allocations: 0 / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1506, allocations: 0.5444 MB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.1506, allocations: 19.89 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.1506, allocations: 0 / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1509, allocations: 170.9 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.1509, allocations: 40.39 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.151, allocations: 51.73 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1511, allocations: 83.52 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1511, allocations: 7.938 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009784/0.1521, allocations: 491.2 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.1522, allocations: 31.84 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1523, allocations: 103.4 kB / 0.6849 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000555/0.1529, allocations: 394.3 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1529, allocations: 0 / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1529, allocations: 4 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1529, allocations: 0 / 0.6853 GB, free: 11.16 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.0007102/0.1536, allocations: 0.5468 MB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1536, allocations: 8.031 kB / 0.6859 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1538, allocations: 103.9 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.154, allocations: 310.2 kB / 0.6863 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.1541, allocations: 158.9 kB / 0.6864 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.1541, allocations: 154.9 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.175e-05/0.1542, allocations: 101.5 kB / 0.6867 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.1542, allocations: 79.41 kB / 0.6867 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.1543, allocations: 162.5 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/0.1543, allocations: 150.6 kB / 0.687 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.1544, allocations: 158.6 kB / 0.6872 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.1548, allocations: 0.5289 MB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.1548, allocations: 165.1 kB / 0.6879 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.1549, allocations: 84.08 kB / 0.6879 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1549, allocations: 87.28 kB / 0.688 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1549, allocations: 105.8 kB / 0.6881 GB, free: 8.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.155, allocations: 0 / 0.6881 GB, free: 8.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001604/0.1551, allocations: 57.3 kB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1552, allocations: 130.7 kB / 0.6883 GB, free: 7.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.1556, allocations: 437.1 kB / 0.6887 GB, free: 7.477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1556, allocations: 25.7 kB / 0.6887 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.1557, allocations: 136.5 kB / 0.6889 GB, free: 7.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.1557, allocations: 0 / 0.6889 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.1558, allocations: 89.67 kB / 0.689 GB, free: 7.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1559, allocations: 338.8 kB / 0.6893 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.156, allocations: 100.5 kB / 0.6894 GB, free: 6.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1562, allocations: 169.3 kB / 0.6895 GB, free: 6.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.1565, allocations: 309.6 kB / 0.6898 GB, free: 6.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1565, allocations: 0 / 0.6898 GB, free: 6.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004731/0.157, allocations: 325 kB / 0.6901 GB, free: 5.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.157, allocations: 4 kB / 0.6901 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.157, allocations: 8.016 kB / 0.6901 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.157, allocations: 0 / 0.6901 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.157, allocations: 8.219 kB / 0.6902 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.1571, allocations: 11.92 kB / 0.6902 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1572, allocations: 47.28 kB / 0.6902 GB, free: 5.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1572, allocations: 4 kB / 0.6902 GB, free: 5.863 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.0001937/0.1574, allocations: 239.9 kB / 0.6904 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.1575, allocations: 124.7 kB / 0.6906 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.1575, allocations: 118.8 kB / 0.6907 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.609e-05/0.1576, allocations: 180.3 kB / 0.6909 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.313e-05/0.1577, allocations: 188.2 kB / 0.691 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/0.1577, allocations: 180.2 kB / 0.6912 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.158, allocations: 469.3 kB / 0.6916 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-05/0.1581, allocations: 112.9 kB / 0.6918 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.1581, allocations: 109 kB / 0.6919 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.086e-05/0.1582, allocations: 184.2 kB / 0.692 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/0.1582, allocations: 180.2 kB / 0.6922 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.654e-05/0.1583, allocations: 180.2 kB / 0.6924 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.051e-05/0.1583, allocations: 180.2 kB / 0.6926 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1585, allocations: 331.4 kB / 0.6929 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.1586, allocations: 201.8 kB / 0.6931 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/0.1587, allocations: 180.2 kB / 0.6932 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.1588, allocations: 108.9 kB / 0.6933 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.1589, allocations: 180.3 kB / 0.6935 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.1589, allocations: 120.8 kB / 0.6936 GB, free: 2.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002517/0.1592, allocations: 271.1 kB / 0.6939 GB, free: 1.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1592, allocations: 0 / 0.6939 GB, free: 1.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.1595, allocations: 75.98 kB / 0.694 GB, free: 1.812 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.0003014/0.1599, allocations: 301.1 kB / 0.6942 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1601, allocations: 168.2 kB / 0.6944 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1601, allocations: 0 / 0.6944 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1601, allocations: 0 / 0.6944 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1605, allocations: 0.5277 MB / 0.6949 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.1611, allocations: 0.5359 MB / 0.6954 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1614, allocations: 0.7707 MB / 0.6962 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.384e-05/0.1615, allocations: 12 kB / 0.6962 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.1615, allocations: 7.438 kB / 0.6962 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1615, allocations: 0 / 0.6962 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.005733/0.1672, allocations: 2.825 MB / 0.699 GB, free: 12.62 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)